Re: new module 'strerror_r-posix'

2010-11-30 Thread Bruno Haible
There was a small mistake in this new module. Fixed like this: 2010-11-30 Bruno Haible strerror_r-posix: Fix autoconf test. * m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Fix typo. --- m4/strerror_r.m4.orig Tue Nov 30 21:41:37 2010 +++ m4/strerror_r.m4Tue Nov 30 21:41:36

Re: new module 'strerror_r-posix'

2010-11-11 Thread Bruno Haible
Daniel P. Berrange wrote: > > /* This lock protects the buffer returned by strerror(). We assume that > >no other uses of strerror() exist in the program. */ > > gl_lock_define_initialized(static, strerror_lock) > > It'd be good to have an impl that uses strerror_s() on Win32 > since I don

Re: new module 'strerror_r-posix'

2010-11-11 Thread Daniel P. Berrange
On Thu, Nov 11, 2010 at 01:26:37PM +0100, Bruno Haible wrote: > > Here's a draft proposal: A new module 'strerror_r-posix'. I wouldn't want > > to call it 'strerror_r' because that would be misunderstandable. > > During testing, more portability

Re: new module 'strerror_r-posix'

2010-11-11 Thread Bruno Haible
> Here's a draft proposal: A new module 'strerror_r-posix'. I wouldn't want > to call it 'strerror_r' because that would be misunderstandable. During testing, more portability problems appeared. Here's what I'm committing: 2010-11-11 Bruno

Re: new module 'strerror_r-posix' (was: Re: strerror thread-safety?)

2010-11-11 Thread Bruno Haible
Adam Stokes wrote: > > License: > > LGPL > > May I ask that the license be LGPLv2+? I guess that's again for libvirt, which we have already discussed. So, yes. Bruno

Re: new module 'strerror_r-posix' (was: Re: strerror thread-safety?)

2010-11-09 Thread Adam Stokes
On Tue, 9 Nov 2010 03:09:51 +0100 Bruno Haible wrote: > Include: > > > License: > LGPL > > Maintainer: > Bruno Haible May I ask that the license be LGPLv2+? Thank you, Adam

new module 'strerror_r-posix' (was: Re: strerror thread-safety?)

2010-11-08 Thread Bruno Haible
a draft proposal: A new module 'strerror_r-posix'. I wouldn't want to call it 'strerror_r' because that would be misunderstandable. 2010-11-09 Bruno Haible New module 'strerror_r-posix'. * lib/string.in.h (strerror_r): New declaration