bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] strerror_r: avoid clobbering strerror on cygwin


From: Eric Blake
Subject: Re: [PATCH] strerror_r: avoid clobbering strerror on cygwin
Date: Sat, 21 May 2011 19:30:40 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 05/21/2011 10:15 AM, Eric Blake wrote:
> Avoid cygwin strerror_r, since it clobbers strerror buffer through
> cygwin 1.7.9.  __xpg_strerror_r is okay, but if a program is
> compiled on cygwin 1.7.8 or earlier, it is not available.

Aargh.  __xpg_strerror_r is _not_ okay, until the upcoming cygwin
1.7.10.  I was testing cygwin 1.7.8, but now I also need to add a
workaround for cygwin 1.7.9.  Most likely, it will be an m4 test that
overrides HAVE___XPG_STRERROR_R to 0 if it is the broken cygwin version.

http://cygwin.com/ml/cygwin-patches/2011-q2/msg00147.html

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]