[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] build error: strerror() ...

On 8/12/06 10:08 pm, "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:

>> strerror_r() sucks. I removed it and used a pthread mutex instead.
> If you  '#define _XOPEN_SOURCE 600'  then glibc will provide the standards
> compliant version of strerror_r which always uses the user supplied buffer.
> Seems simpler than rolling our own code using pthreads mutexes.

My Debian build box defines only the GNU version.

It seems that strerror_r() is basically unusable unless you do a
'configure'-style compile test to set a build flag.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.