On 06/07/2011 03:29 AM, Bruno Haible wrote:
> Eric Blake wrote:
>> * lib/strerror.c (strerror): Special case 0.
> 
> Thanks.
> 
> On MacOS X 10.5, I'm still seeing these failures:
> 
>   test-strerror.c:63: assertion failed
>   FAIL: test-strerror

strerror(0) misbehavior.  Hmm, while FreeBSD was setting EINVAL to make
the failure explicit, MacOS is claiming success while still outputting
"Unknown error: 0".  I'll fix that with a strstr() test in the .m4 files.

> 
>   test-perror2.c:112: assertion failed
>   FAIL: test-perror2

Buffer clobbering; given that I just fixed that in cygwin, it shouldn't
be too much harder to fix for MacOS.

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to