Re: [Bug-tar] FreeBSD 8: openat() yes, fdopendir() no

2008-04-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding bug-gnulib; replies can drop bug-tar] According to Christian Weisgerber on 4/8/2008 9:51 AM: | GNU tar 1.19 fails to build on FreeBSD 8-CURRENT (starting from | 2008-03-31). The problem is code in lib/getcwd.c and lib/savedir.c | that mistak

[Bug-tar] FreeBSD 8: openat() yes, fdopendir() no

2008-04-08 Thread Christian Weisgerber
GNU tar 1.19 fails to build on FreeBSD 8-CURRENT (starting from 2008-03-31). The problem is code in lib/getcwd.c and lib/savedir.c that mistakenly assumes if openat() is available, so will be fdopendir(). FreeBSD imported the Solaris-style *at() functions, but it does not have fdopendir(), and I