Re: fchownat test on AIX 7.1BETA

2010-07-31 Thread Bruno Haible
Rainer Tammer wrote: > # ./testme > ret = 0 And on Linux, the POSIX-correct result is: ret = -1 errno = 20 Not a directory Actually the code for working around this bug is already present in lib/fchownat.c, conditionalized by CHOWN_TRAILING_SLASH_BUG. On your system, the logs say: checking wh

Re: fchownat test on AIX 7.1BETA

2010-07-31 Thread Rainer Tammer
Hello Bruno, Bruno Haible wrote: > Hello Rainer, > > Rainer Tammer wrote: > >>> test-chown.h:88: assertion failed >>> FAIL: test-fchownat >>> >> test_chown(func = 0x2d50, print = 1), line 88 in "test-chown.h" >> main(), line 70 in "test-fchownat.c" >> > Can you please try an

Re: fchownat test on AIX 7.1BETA

2010-07-31 Thread Bruno Haible
Hello Rainer, Rainer Tammer wrote: > > test-chown.h:88: assertion failed > > FAIL: test-fchownat > test_chown(func = 0x2d50, print = 1), line 88 in "test-chown.h" > main(), line 70 in "test-fchownat.c" Can you please try and show the output of this test program? It's a candidate for an au

Re: fchownat test on AIX 7.1BETA

2010-07-31 Thread Rainer Tammer
Hello Bruno, Bruno Haible wrote: > Hi Rainer, > > Regarding this test failure: > > test-chown.h:88: assertion failed > FAIL: test-fchownat > > What's the output if you change test-chown.h at line 87 like this: > > ASSERT (func (BASE "dir/file/", -1, -1) == -1); > { int err = errno; fprintf

fchownat test on AIX 7.1BETA

2010-07-30 Thread Bruno Haible
Hi Rainer, Regarding this test failure: test-chown.h:88: assertion failed FAIL: test-fchownat What's the output if you change test-chown.h at line 87 like this: ASSERT (func (BASE "dir/file/", -1, -1) == -1); { int err = errno; fprintf (stderr, "errno = %d\n", err); errno = err; perror