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:date:from:to:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=J+OipXpof115n65wfssodfCDbsz78XgTgdTzJZ4V71dLBoybMGP4E | |
4hcQSXJkx128PwxhWVBUp6lRAM6XA5Xre3vovhO+7kpC3DHObyXFinfxv2m+fa3G | |
xQDHWGm6BvClbht1z3WGOs+uNVSr3IojGr/ll/4UekfhQ5xm6Wgdpc= | |
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:date:from:to:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=EmdNEUcyR+P87mKcEwWkjdGjuMA=; b=Q0IJRTDNfYlRSdqy8YZoAdz1+YSt | |
vm9taUqj5ZBlkV9ySM9LIy2S9dEoIDGVsGnOq/Y+JnYtZ0yaAXm/G/UmhEmaNpgT | |
ckQtptrAlhTJJTv5cx+hbS/Cq/80NZvC53cXSVME3U0bgC5eGBC1GEU2CJjdK3yj | |
x6NfdlxcsyxIPyU= | |
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=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=UD:t, concerning |
X-HELO: | mout.kundenserver.de |
Date: | Sun, 6 Jan 2019 21:21:09 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | Thomas Wolff <towo AT towo DOT net> |
Cc: | cygwin AT cygwin DOT com, Assaf Gordon <assafgordon AT gmail DOT com>, |
Bruno Haible <bruno AT clisp DOT org> | |
Subject: | Re: iswcntrl() regression |
Message-ID: | <20190106202109.GD4430@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | Thomas Wolff <towo AT towo DOT net>, 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> |
MIME-Version: | 1.0 |
In-Reply-To: | <6550638.IhVCuUnqCC@omega> |
User-Agent: | Mutt/1.10.1 (2018-07-13) |
--i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 19 21:57, Bruno Haible wrote: > Hello Thomas, >=20 > Oops 1: I forgot to add the reference to POSIX: > http://pubs.opengroup.org/onlinepubs/9699919799/functions/iswcntrl.html >=20 > Oops 2: > The relevant expression is iswcntrl (WEOF), not iswcntrl (EOF). >=20 > > > Are there any other special requirements concerning EOF? >=20 > 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 wc= har_t. > (Like EOF fits into 'int' but usually does not fit in 'unsigned char'.) >=20 > WEOF is special for all functions declared in <wctype.h>, see >=20 > 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 >=20 > 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 >=20 > > this could be fixed in iswcntrl_l.c as a special condition, or > > injected as a special case in the categories.t table. >=20 > Probably, yes. Thomas, any input? Are you going to provide patches? Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwyYzUACgkQ9TYGna5E T6CdRRAAn4NTijFUybxxhG2bA7/7icAuZWJBry+poNzErxjmEGhkIoP8yn53cEKu 8IWcfJlCzudczrwnMhyT3v09jH4tG88kCCUVQpO+kpuVkatbnFKmkMT8tQi8/NR1 03GhsWVeuFZtrUF0/BbIJQvE9e5RNjy2Fn2mBUzSaDGSkm+kLxxkY8Vwfb04xkF/ GoTVq3C95PVr9kxz+5eaIlWuRMQcVrjXpdr4TXth6Hrz/OqlYJLghFzokT7zPVsv 2xdrigpD9p48js8aubIanNCc9zuQrf+zJGioyUVJKVJA6Iw5lsebXdOxmHUe3Rya 9ob3rg5uSSk1bBjYWgC1U6VrBdHoUQxPlil2BUdf+G5KUCB7QVDhC0U6+lp1zBH9 6r+Geu9WgCEgO5cU5nv/2mlrdXoWt55avcXdIBEFAqYbu1klmFzKQcc4ibhtw8tj uyjroo58NRBtCUW/pc0YOwvQa1PhzKpbyVLVEyEsXvt0IZWbYsHEtVbFfmFy5LmV RFQpzrUypjLhuHXhGMNeMJpsTD/n9TxiCGfkZpGkcMUqCouwKVwy1K9Mjt+I3O3C D39f7AJJG91d/VSbn+lVJlLPSDE3gSSE/w+JJtjhKKLCKwW1LzNWyGzhfsrdFbit pxkx6IDQymUDda4m0gcVLTK+52O3qB902tS6O00q6gL36bg1yRI= =GogP -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |