2009/7/26 Simon 'corecode' Schubert <corecode@fs.ei.tum.de>:
>> getcwd.c: In function 'rpl_getcwd':
>> getcwd.c:242: warning: implicit declaration of function 'fdopendir'
>> getcwd.c:242: warning: assignment makes pointer from integer without a
>> cast
>> getcwd.c:298: warning: implicit declaration of function 'fstatat'
>> getcwd.c:298: error: 'AT_SYMLINK_NOFOLLOW' undeclared (first use in this
>> function)
>> getcwd.c:298: error: (Each undeclared identifier is reported only once
>> getcwd.c:298: error: for each function it appears in.)
It's caused by my openat() commit. If HAVE_OPEN_OPENAT is defined
then gtar assumes AT_SYMLINK_NOFOLLOW and fdopendir() (and possibly
others) are present too.
If fdopendir() can be implemented quickly, I'll do so. Otherwise, I
guess gtar should use sth along the line for HAVE_FDOPENDIR.
Sorry for the disagreement.
Cheers,
Nicolas