This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: provide __xpg_strerror_r


On 02/10/2011 02:55 AM, Corinna Vinschen wrote:
> On Feb 10 10:50, Corinna Vinschen wrote:
>> On Feb  9 21:15, Christopher Faylor wrote:
>>> On Wed, Feb 09, 2011 at 05:20:59PM -0700, Eric Blake wrote:
>>>> +/* Newlib's <string.h> provides declarations for two strerror_r
>>>> +   variants, according to preprocessor feature macros.  It does the
>>>> +   right thing for GNU strerror_r, but its __xpg_strerror_r mishandles
>>>> +   a case of EINVAL when coupled with our strerror() override.*/
>>>> #if 0
>>>
>>> Can't we get rid of this now?
>>
>> I agree.  We should simply implement strerror_r by ourselves, even if
>> it's identical to newlib's strerror_r.  In the long run it's less
>> puzzeling to have all the strerror variants in one place.
> 
> Oh, and: http://cygwin.com/ml/cygwin-patches/2011-q1/msg00031.html

Pushed, and squashed into minor version 236.  I've also updated
new-features.sgml.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]