delorie.com/archives/browse.cgi | search |
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=uUlU+sVSRg6egpQt | |
mCufC7Lc+m/qoCipCyJ+z7fbhQRIyY11hbNmTkWFOAHJp3zpcMUtqzI1oNnmxHon | |
zPBpW0BlgpUeysf/+t6OEMfynf08HCZoxhXk1pKnWzkUK+kEcspu7L1rMw7h3Hwq | |
GEjoA36ys4UUt4RNzHE0bMRqGAw= | |
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=+XfSmllW0YTh02tYDmqF2N | |
roxJ8=; b=RlOUSnEgVbZ0mSWpfWwEzzUfKo8PQWggDu3GKu538i4292iwaJB7sH | |
hxgg6NqNorbWroh18jU3Frdg+6t1yoICTRplQv06NFSxXlc2SDraZYKXR6oN3OTC | |
LJSU+9RTjY4MDYFjGVgNyjhK4zUqf8XmnI222DwnNOl6X1mBNp59M= | |
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,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy= |
X-HELO: | mout.kundenserver.de |
Subject: | Re: iswcntrl() regression |
To: | cygwin AT cygwin DOT com, Assaf Gordon <assafgordon AT gmail DOT com>, |
Bruno Haible <bruno AT clisp DOT org> | |
References: | <24530320 DOT 43gEWRNkUz AT omega> <cd4691c0-da99-46b5-6001-594499a8d2fa AT towo DOT net> <20181219133711 DOT GJ28727 AT calimero DOT vinschen DOT de> <6550638 DOT IhVCuUnqCC AT omega> <20190106202109 DOT GD4430 AT calimero DOT vinschen DOT de> |
From: | Thomas Wolff <towo AT towo DOT net> |
Message-ID: | <8758e963-7f32-a3f4-4d66-ce0d0c5f831e@towo.net> |
Date: | Sun, 6 Jan 2019 23:39:37 +0100 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <20190106202109.GD4430@calimero.vinschen.de> |
X-IsSubscribed: | yes |
Am 06.01.2019 um 21:21 schrieb Corinna Vinschen: > On Dec 19 21:57, Bruno Haible wrote: >> Hello Thomas, >> >> Oops 1: I forgot to add the reference to POSIX: >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswcntrl.html >> >> Oops 2: >> The relevant expression is iswcntrl (WEOF), not iswcntrl (EOF). >> >>>> Are there any other special requirements concerning EOF? >> WEOF is a special value. The difference between wint_t and wchar_t is >> essentially that WEOF fits into wint_t but is not guaranteed to fit in wchar_t. >> (Like EOF fits into 'int' but usually does not fit in 'unsigned char'.) >> >> WEOF is special for all functions declared in <wctype.h>, see >> >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswalnum.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswalpha.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswblank.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswcntrl.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswdigit.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswgraph.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswlower.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswprint.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswpunct.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswspace.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswupper.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswxdigit.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswctype.html >> >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/towlower.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/towupper.html >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/towctrans.html >> >>> this could be fixed in iswcntrl_l.c as a special condition, or >>> injected as a special case in the categories.t table. >> Probably, yes. > Thomas, any input? Are you going to provide patches? Well, yes, now I'm assuming that this is the only WEOF special case and I'll look after it this week. Thomas -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |