Re: careadlinkatcwd's signature

2011-06-06 Thread Bruno Haible
> Thanks, that patch looks good. Could you please install it? Thanks for the quick review, Paul. Done. Bruno -- In memoriam Robert F. Kennedy

Re: careadlinkatcwd's signature

2011-06-05 Thread Paul Eggert
> 2011-06-05 Bruno Haible > > careadlinkat: Avoid mismatch between ssize_t and int. > * lib/careadlinkat.h (careadlinkatcwd): Declare as a function always. > * lib/careadlinkat.c (careadlinkatcwd): Define always. Thanks, that patch looks good. Could you please install it?

careadlinkatcwd's signature

2011-06-05 Thread Bruno Haible
Hi Paul, On AIX 7.1 with gcc, I get this warning: areadlink.c:38: warning: passing argument 6 of 'careadlinkat' from incompatible pointer type The reason is obviously that 'readlinkat' has a return type of 'int', but careadlinkat() expects a function pointer that has a return type of ssize_t.