delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/19/08:25:41

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=ZYRbPIn/uNLUIbSJ
JAHvKad5cXDqJfy1lozmpKzzWA6/MtkxfddRc3Y2Oy10QofrT6+DZUx0rD4Dpsh1
eayDNJeHDZteASmC7ZYM4cxgZgSPVVZ4uNHkNl6ERIULG7/kgN+OQazSrD1LcPgA
KqGj1nGv8L4hCeXtjD2rpLtuWkg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=qOwVen0NiUFnnsaUITZPe9
/B1P8=; b=rx7jDI+WR87t0D0a8gxhxvAkrqtRgMvri3MZZH/XbrYvKnuCvB5J5o
tSnGkd7LQokyQW910Cvh0/tefSVA4BZy0b8pX4U/ZunM+q9Ck3RLhV+CWbaFt1LA
ljSzLyJD5cmHRue4g+xzucJjsLSlxJRk30wnbLsTVAP1xnDy98Bwk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=19122018, 19.12.2018, H*r:212.227.126, H*r:mreue010
X-HELO: mout.kundenserver.de
Subject: Re: iswcntrl() regression
To: cygwin AT cygwin DOT com
References: <24530320 DOT 43gEWRNkUz AT omega>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <cd4691c0-da99-46b5-6001-594499a8d2fa@towo.net>
Date: Wed, 19 Dec 2018 14:25:24 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <24530320.43gEWRNkUz@omega>
X-IsSubscribed: yes

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 AT users DOT noreply DOT github DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019