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 header. >> >> From priv-set.h: >> >> #if HAVE_GETPPRIV >> >>

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 header. > > From priv-set.h: > > #if HAVE_GETPPRIV > > # include This was already fixed by Paul Eggert on 2

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 , > headers and change priv-set.h to read as follows (or similar): > > #if HAVE_GETPPRIV > # if HAVE_PRIV_H > # include > # else > # if HAVE_SYS_TYPES_H > # include > # endif > # if

[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 header. From priv-set.h: #if HAVE_GETPPRIV # include From the aix manual page for getppriv: Purpose Gets a privi