From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id F07103858C53; Mon, 31 Jul 2023 18:20:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F07103858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1690827629; bh=EbRgggI/Yz60Hc7KYBSgUF08y+FJ6MgbvJWDcdVQ9p4=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=UI2E/ID5lTF+fyPMdiJRm+qdYarDZKym6xr2PrBsidBYeMEpo1rL5Du3ZgFVE2XJJ gYVgbiY+GajKMuhkTeyQYfc4vUdyknVd+q3k2xZCrfuaCAChzQVpjbBdgZzxzaMi1D Eo/u1AbJlrBDHWRb8VS7UVaTZaKfjfWZRZH2xt8E= Received: by calimero.vinschen.de (Postfix, from userid 500) id D4557A807B2; Mon, 31 Jul 2023 20:20:26 +0200 (CEST) Date: Mon, 31 Jul 2023 20:20:26 +0200 From: Corinna Vinschen To: Bruno Haible Cc: cygwin@cygwin.com Subject: Re: character class "alpha" Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: Bruno Haible , cygwin@cygwin.com References: <3884636.3uDm00564X@nimes> <5176597.IBPj4gxFZX@nimes> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: On Jul 31 19:46, Corinna Vinschen via Cygwin wrote: > On Jul 31 16:06, Bruno Haible via Cygwin wrote: > > Corinna Vinschen wrote: > > > I have a problem with the c32isalpha function. > > > > > > c32isalpha fails for the character U+FF11 FULLWIDTH DIGIT ONE, > > > because it expects the character to be an alphabetic character. > > > > This is not a big problem. You can see in the test-c32isalpha.c file > > that this test is disabled for many platforms, in particular glibc. > > Which is interesting, because I actually tried that today on glibc, and > for iswalpha (0xff11) it returns 1. So it actually behaves as the > testcase expects. > > > There's no problem with disabling it on Cygwin as well. > > I'd rather make Cygwin do the same as glibc. Hmm, there are more of those expressions which are disabled on glibc and fail on Cygwin, for instance in test-c32iscntrl.c. Maybe it's actually the better idea to disable them on Cygwin, too, rather than to change a working system... Corinna