On Mon, Sep 5, 2011 at 06:31, Paul Eggert <[email protected]> wrote:
> On 09/04/11 18:14, Kevin Brott wrote: > > Attached the config.log from the second tarball you asked me to use > > And it says that AIX 7.1's openat exists. But tar isn't > invoking it; it's invoking 'open'. > > I have a sneaking suspicion that openat has the same problem > that fstatat does. I suggest checking for this by running this shell > script: > > export LC_ALL=C > s='[[:space:]]' > cd /usr/include > grep -En "^$s*#$s*define$s+[a-z]*at$s" $(find * -type f -print) > > and then investigating the matches. This should catch openat, > plus all the other *at functions (most of which GNU tar uses). > We might as well fix them all, while we're at it. > fcntl.h:106:#define openat open64at fcntl.h:108:#define creat creat64 netns/spp_var.h:197:#define sppstat spp_istat.newstats sys/stat.h:323:#define stat stat64 sys/stat.h:324:#define fstat fstat64 sys/stat.h:326:#define lstat lstat64 sys/stat.h:329:#define fstatat stat64at wchar.h:449:#define wstrcat NCstrcat wchar.h:452:#define wstrncat NCstrncat -- # include <stddisclaimer.h> /* Kevin Brott <[email protected]> */
