iswcntrl() regression

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Dec 19 13:39:00 GMT 2018


CCed Bruno and Assaf, I guess both are not subscribed to the Cygwin ML.

On Dec 19 14:25, Thomas Wolff wrote:
> On 19.12.2018 13:53, Bruno Haible wrote:
> > Hi,
> > 
> > POSIX [1] requires that iswcntrl (EOF) == 0.
> Interesting special case, as EOF is not a character.
> In newlib/libc/ctype, this could be fixed in iswcntrl_l.c as a special
> condition, or injected as a special case in the categories.t table.
> Are there any other special requirements concerning EOF?
> Thomas
> 
> > 
> > This was true in         CYGWIN_NT-10.0 2.9.0(0.318/5/3) (x86_64)
> > but is no longer true in CYGWIN_NT-10.0 2.11.1(0.329/5/3) (x86_64).
> > (Reported by Assaf Gordon.)
> > 
> > Looking at the changes that occurred in the cygwin git between
> > 2.9.0 (on 2017-08-03) and 2.11.1 (on 2018-08-31)
> > it appears to me that the culprit is the commit
> > 41f72ab4d7c404b8ac2a5e1187d79164992e4483 (on 2018-03-09).
> > 
> > I would like to CC its author, Thomas Wolff, but he gave an invalid
> > email address <mintty@users.noreply.github.com> in the commit.
> > 
> > This regression was found by gnulib's test suite
> > https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=tests/test-wctype-h.c
> > 
> > Bruno

Thanks for the report, Bruno!


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20181219/476f353f/attachment.sig>


More information about the Cygwin mailing list