[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib getcwd patch needed for Solaris 10 getcwd
From: |
Paul Eggert |
Subject: |
Re: gnulib getcwd patch needed for Solaris 10 getcwd |
Date: |
Thu, 22 Feb 2007 00:50:26 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> If anyone else has access to a Solaris 10 system (x86 or otherwise),
> with Sun C, would you please try the latest snapshot?
I can't reproduce the problem now, so I'm not sure what went wrong.
Sorry. Well, at any rate the patch has been reverted.
>> On Solaris 10, getcwd is a system call, and I suspect it's much better
>> in common practice to try the syscall than to jump immediately to our
>> own code, even if getcwd (NULL, 0) does not work as it does with
>> glibc.
>
> I ran a couple quick tests, and they suggest that there's nothing
> special about Solaris 10's getcwd implementation (i.e., it's not
> like the linux/glibc one).
Among other things I was hoping that, since it's a system call, it's
atomic and it's faster. I don't have time to test this right now,
though, alas.
- gnulib getcwd patch needed for Solaris 10 getcwd, Paul Eggert, 2007/02/21
- Re: gnulib getcwd patch needed for Solaris 10 getcwd, Andreas Schwab, 2007/02/21
- Re: gnulib getcwd patch needed for Solaris 10 getcwd, Jim Meyering, 2007/02/21
- Re: gnulib getcwd patch needed for Solaris 10 getcwd,
Paul Eggert <=
- Re: gnulib getcwd patch needed for Solaris 10 getcwd, Matthew Woehlke, 2007/02/23
- Re: gnulib getcwd patch needed for Solaris 10 getcwd, Jim Meyering, 2007/02/23
- Re: gnulib getcwd patch needed for Solaris 10 getcwd, Simon Josefsson, 2007/02/25