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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Message-ID: 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 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