On 06/08/2011 04:36 AM, Bruno Haible wrote:
> Hi Eric,
>
>> the 'strerror' module in isolation will not replace strerror, but
>> if strerror_r is in use for any other reason, then the two use
>> separate buffers.
>
> Very nice. Good improvement.
>
> I'm applying a couple of follow-up tweaks:
Th
Hi Eric,
> the 'strerror' module in isolation will not replace strerror, but
> if strerror_r is in use for any other reason, then the two use
> separate buffers.
Very nice. Good improvement.
I'm applying a couple of follow-up tweaks:
- In gl_FUNC_STRERROR, we don't need to emit code in configu
Cygwin __xpg_strerror_r clobbers strerror, until cygwin 1.7.10; in
this case, we must replace strerror, but there was nothing in
strerror.m4 finding fault with cygwin's native strerror. Solve
this by splitting strerror_r.m4 into two parts, one for probing
for the strerror_r bug, and one for replac