fix for strndup on AIX 5.1

2007-03-20 Thread Bruno Haible
Matthew Woehlke reported an strndup related compilation error on AIX 5.1 on bug-coreutils. This fixes it. 2007-03-20 Bruno Haible <[EMAIL PROTECTED]> * lib/string_.h (strndup): Enable declaration also if ! HAVE_STRNDUP. Needed on AIX 5.1. Reported by Matthew Woehlke. *** lib/st

Re: mkstemp declaration fix

2007-03-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruce Korb on 3/20/2007 10:00 AM: >> The reason is that mkstemp is declared in , not , on >> this platform. But for POSIX compatibility, only gnulib's should >> be sufficient to declare the function. I'm applying this: > > Just a questio

Re: mkstemp declaration fix

2007-03-20 Thread Bruce Korb
Bruno Haible wrote: > Hello, > > On MacOS X 10.3, one gets this warning: > > mkstemp-safer.c:34: warning: implicit declaration of function `mkstemp' > > The reason is that mkstemp is declared in , not , on > this platform. But for POSIX compatibility, only gnulib's should > be sufficient to dec