Bruno Haible <bruno <at> clisp.org> writes:

> +  /* Check that the tow* functions map WEOF to WEOF.  */
> +  ASSERT (towlower (e) == e);
> +  ASSERT (towupper (e) == e);

This trips a bug in mingw.  There, WEOF is defined as 0xffff, but towlower
(0xffff) returns 0x77c5ffff.  Oddly enough, towupper(0xffff) works as expected.

-- 
Eric Blake





Reply via email to