bug-gnulib
[Top][All Lists]
Advanced

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

Re: lib/exclude.c calls towlower() without checking for wideline support


From: Eric Blake
Subject: Re: lib/exclude.c calls towlower() without checking for wideline support
Date: Tue, 8 Sep 2009 19:39:19 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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

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