[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib broken on systems lacking fchdir

From: Matthew Woehlke
Subject: Re: gnulib broken on systems lacking fchdir
Date: Thu, 30 Nov 2006 11:33:05 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061025 Thunderbird/ Mnenhy/

Jim Meyering wrote:
Matthew Woehlke <address@hidden> wrote:
...except that a declaration for fchdir() is already provided (hmm,
sorry, should have mentioned it is the link that dies, not the compile).
So why would an fchdir.h be needed?

If your system really does have an fchdir declaration (in unistd.h?),
then you should investigate.  See if there is a function definition.
I.e., run "nm" on all libraries to see if/where it's defined.  Then,
if found, try to determine why the configure-time existence test fails.

Nope, it must have been an implicit declaration. I thought I remembered seeing it declared in gnulib already (which is why I assumed it wasn't an implicit declaration; NSK makes too many warnings to read when the compiler makes hard-to-read warnings to begin with) but I can't find it now, so I must be wrong. :-) Sorry for the confusion.

Anyway, I realized an fchdir.h is needed for the open()/etc replacement anyway. D'oh.

"Lost a planet, Obi Wan has? How embarassing..."
 -- Yoda (Star Wars II: Attack of the Clones)

reply via email to

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