From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26815 invoked by alias); 19 Dec 2018 13:25:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26418 invoked by uid 89); 19 Dec 2018 13:25:30 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.133) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Dec 2018 13:25:28 +0000 Received: from [10.161.52.33] ([178.19.220.109]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MYNaE-1gv2Sl2xAg-00VR2x for ; Wed, 19 Dec 2018 14:25:25 +0100 Subject: Re: iswcntrl() regression To: cygwin@cygwin.com References: <24530320.43gEWRNkUz@omega> From: Thomas Wolff Message-ID: Date: Wed, 19 Dec 2018 13:29:00 -0000 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00175.txt.bz2 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 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