[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 Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |