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: 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,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 , Bruno Haible References: <24530320 DOT 43gEWRNkUz AT omega> <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 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 , 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