Jim Meyering wrote:
Matthew Woehlke <[EMAIL PROTECTED]> 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.
--
Matthew
"Lost a planet, Obi Wan has? How embarassing..."
-- Yoda (Star Wars II: Attack of the Clones)