X-Recipient: archive-cygwin@delorie.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:from:to:cc:subject:date:message-id
	:mime-version:content-transfer-encoding:content-type; q=dns; s=
	default; b=aD7DqgZb212zplAtBB7VNauy//lmNI1LkplfMxoBsdpJJYvEbSysu
	wiZD7hlbf3Qusr3rlPfMVg9yAZPkproePC3wL/dsvpuK+0YAWZcI7AgiKgN8a9o1
	zHUKZeRrdm86J475mLbprAD45l4NZ6SHI+bZSBhybQ9lDGv5EfEs5k=
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:from:to:cc:subject:date:message-id
	:mime-version:content-transfer-encoding:content-type; s=default;
	 bh=qC9AsLRQ6I+YKCkwKj0WUE0l/Ag=; b=aHyXtORzN+2nzpdjxg7F6POgOHTQ
	Xhj4rIbvgyU+8Of83msSh/asGngRAvw6qN4uL4wHhw3kahwrdS+rjHRuVTvOGtYd
	ZGDxfPrpWxIWsCnDTODqOPxDQjlYpsT8kmJ2heOC4w2VPEdDj2mGuhntPrzaSwrP
	1sy0Qenp4lSaG0k=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*r:present, H*r:did, H*r:Client
X-HELO: mo4-p00-ob.smtp.rzone.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1545223987;	s=strato-dkim-0002; d=clisp.org;	h=Message-ID:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From:	Subject:Sender;	bh=VGmRzQywZiSJXVULhrxUNq6cRTfX2jaSStR2cn9YfO4=;	b=Kmg5GkNNHybx5otoQNh9qasRdcUPoaDumSFJcLf0D4+yW581l1SqSf5oQMN/C82NQA	u1MO4KlaExTx+ZBA2mCmFW+jn7bCyU2Byaz5zj0TBy+bclxhThQGsFoBtzGn6uMtxwyC	0VS5iXIiORih51blIlyCC/SpHg5F78WKotFrKzk3jyl5Ms14HpSDHcRgwKa9MAq1XtW2	/vUnmtKfWrxPzk6+wJwB3xU1daUfJGe2Ob6E22J4FXkq4tE+9rsxkBodLWQh2VOuYpTz	Sws6Mco1dgEAmkVJTz18OoU4TCPOu0vIsMuDOJwoLUSE0hYYOcf9nwJI1SQs9lgziINZ	pqHg==
From: Bruno Haible <bruno@clisp.org>
To: cygwin@cygwin.com
Cc: Assaf Gordon <assafgordon@gmail.com>
Subject: iswcntrl() regression
Date: Wed, 19 Dec 2018 13:53:06 +0100
Message-ID: <24530320.43gEWRNkUz@omega>
User-Agent: KMail/5.1.3 (Linux/4.4.0-139-generic; KDE/5.18.0; x86_64; ; )
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

Hi,

POSIX [1] requires that iswcntrl (EOF) == 0.

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

