bug-gnulib
[Top][All Lists]
Advanced

[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: Wed, 21 Feb 2007 16:10:18 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Jim Meyering <address@hidden> writes:

> Why does your config.h define HAVE_PARTLY_WORKING_GETCWD
> when using Sun C 5.8?

Sorry, I don't know offhand.  I don't currently have access to the
affected machine but will try to get to it soon.  It is Solaris 10
x86, patched to about a month ago.  I built it with a local (ufs) file
system.

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.

In the meantime I've backed out the patch.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]