public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Re: iswcntrl() regression
Date: Wed, 19 Dec 2018 13:29:00 -0000	[thread overview]
Message-ID: <cd4691c0-da99-46b5-6001-594499a8d2fa@towo.net> (raw)
In-Reply-To: <24530320.43gEWRNkUz@omega>

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
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2018-12-19 13:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-19 13:25 Bruno Haible
2018-12-19 13:29 ` Thomas Wolff [this message]
2018-12-19 13:39   ` Corinna Vinschen
2018-12-19 21:46     ` Bruno Haible
2019-01-06 20:21       ` Corinna Vinschen
2019-01-06 22:39         ` Thomas Wolff
2019-01-11  1:07           ` Thomas Wolff
2019-01-11  9:16             ` Corinna Vinschen
2019-01-12 11:39               ` Thomas Wolff
2019-01-08 22:56     ` Wong, Samuel
2019-01-09 23:46       ` Unsubscribing from Cygwin Mailing List (was: iswcntrl() regression) Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd4691c0-da99-46b5-6001-594499a8d2fa@towo.net \
    --to=towo@towo.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).