On the gnulib list, it was pointed out that cygwin btowc has a bug: +#include <stdio.h> +#include <string.h> +#include <wchar.h> +int main () +{ + if (btowc ('\0') != 0) + return 1; + return 0; +}
should have status 0, because NUL is an ASCII byte. Right now, btowc is mistakenly returning WEOF and this program has status 1. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature