Re: [BUG] priv-set on aix6.1

2010-07-12 Thread Gary V. Vaughan
Hi Bruno, On 11 Jul 2010, at 18:11, Bruno Haible wrote: I get a compilation failure in coreutils with the priv-set module which correctly detects a getppriv() function, but then tries to use it by including a non-existant priv.h header. From priv-set.h: #if HAVE_GETPPRIV # include

Re: [BUG] priv-set on aix6.1

2010-07-11 Thread Bruno Haible
Hi Gary, I get a compilation failure in coreutils with the priv-set module which correctly detects a getppriv() function, but then tries to use it by including a non-existant priv.h header. From priv-set.h: #if HAVE_GETPPRIV # include priv.h This was already fixed by Paul Eggert

[BUG] priv-set on aix6.1

2010-07-08 Thread Gary V. Vaughan
I get a compilation failure in coreutils with the priv-set module which correctly detects a getppriv() function, but then tries to use it by including a non-existant priv.h header. From priv-set.h: #if HAVE_GETPPRIV # include priv.h From the aix manual page for getppriv: Purpose

Re: [BUG] priv-set on aix6.1

2010-07-08 Thread Gary V. Vaughan
On 8 Jul 2010, at 21:55, Gary V. Vaughan wrote: I guess the solution is to add checks for priv.h, sys/priv.h headers and change priv-set.h to read as follows (or similar): #if HAVE_GETPPRIV # if HAVE_PRIV_H # include priv.h # else # if HAVE_SYS_TYPES_H # include