Mail Archives: cygwin/2018/06/25/05:23:55
--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Jun 24 18:34, Thomas Wolff wrote:
> Am 24.06.2018 um 00:32 schrieb Thomas Wolff:
> > Am 23.06.2018 um 20:46 schrieb Brian Inglis:
> > > On 2018-06-22 17:06, Takashi Yano wrote:
> > > > On Sat, 23 Jun 2018 05:39:27 +0900
> > > > Takashi Yano wrote:
> > > > > I looked into this problem, and found this is caused by incorrect
> > > > > return value of iswprint().
> > > > I have found the cause. That is, file categories.t is not correct.
> > > >=20
> > > > For example,
> > > > http://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt says:
> > > >=20
> > > > 3400;<CJK Ideograph Extension A, First>;Lo;0;L;;;;;N;;;;;
> > > > 4DB5;<CJK Ideograph Extension A, Last>;Lo;0;L;;;;;N;;;;;
> > > > ...
> > > > 4E00;<CJK Ideograph, First>;Lo;0;L;;;;;N;;;;;
> > > > 9FEF;<CJK Ideograph, Last>;Lo;0;L;;;;;N;;;;;
> > > >=20
> > > > However, categories.t is:
> > > > =C2=A0=C2=A0=C2=A0=C2=A0 {CAT_Lo, 0x3400, 0},
> > > > =C2=A0=C2=A0=C2=A0=C2=A0 {CAT_Lo, 0x4DB5, 0},
> > > > ...
> > > > =C2=A0=C2=A0=C2=A0=C2=A0 {CAT_Lo, 0x4E00, 0},
> > > > =C2=A0=C2=A0=C2=A0=C2=A0 {CAT_Lo, 0x9FEA, 0},
> > > >=20
> > > > Therefore, the script mkcategories which generates categories.t
> > > > should be fixed.
> > Obviously. I will check why the script was failing here and thanks for
> > the patch already.
> Yeah, I totally failed to consider the First...Last ranges in this script,
> how embarassing.
> I would have chosen other markers than 0/1 for the two cases (maybe
> "firstlast" for the new one), and not put it in the middle, but you fixed=
it
> anyway; except for the Private Use ranges E000..F8FF, F0000..FFFFD,
> 100000..10FFFD, but their category Co isn't used anyway.
> I suggest you submit your patch directly to cygwin-patches AT cygwin DOT com.
In theory this belongs to newlib AT sourceware DOT org since it only
affects newlib code, and the non-Cygwin newlib guys would probably like
to see these patches as well :)
> One
> issue, though:
> Apparently, you used a Unicode version other than 10.0 as a reference,
> probably 11.0. Maybe the fixing patch should be based on the same version,
> for better clarity and to reduce the diff (fewer changes in categories.t =
and
> none in caseconv.t).
Takashi, does your patch on cygwin-patches take this into account?
I think Thomas has a good point here, the generated files should
always match a single version.
Thanks,
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlswsngACgkQ9TYGna5E
T6DdDQ//avN63aSayC98vc5Jop45HCqP9jsRF+cuTiCJ0QPjxq6AadRpR65vavmi
jNBF8f73QwT+PNj9RaYL5y2PQmIGFoOjseSZOa0IpH4jC7I/f71/lc0wz1TRmDpg
67zm6HqkKLFK7S/aUhW0Gi9JmP2cL/Vedo1MDPRNrdcr/E19ISbJ64cBwGocaTAA
u8PfcROgfhD9CjjO0kyu0PErQaFwoUW6F0qd6wZgrp6D3TRbPPr8O+97oJLxPIaY
3DIC7EwHs0dUomuyj86PZjUJnU4AEmyMMdg8tum1Y+8TIsPIKg5ihYwWFi0R+XlY
pwldrefoeCON8LwI2kOCmWsP+Ef66njKydRca+YGikjPJQld1XymLr7jJgJ75dSG
6kRnKFt2J4JuT1UB7DGO6QIjNqSx9UyyfkoLlSWL6buW/R8Y5nmaVOlUR5giRUPH
7TCSnWO6W24ERwqXoyQmkuF6PgiolEZWuvbV3KJj7t6cqC3kyXxpxHA3uSy341Ky
jYme3Jp2Ptq6MBMaQUBqFqsLCrlc7MBVJx8b61uVGaQSBV/zYFHusvvSVgzXI40o
hgI5pFocgb/co9u8LNOsY2QTookSyXAJMP5AWmpOlHvWyV3Ux3BMGQPkbngMYqG7
83mzm4O97f4/9t6Dfp89NcRjjt9oCKgABUoyTgvAXRw6jfmC9xs=
=LaF9
-----END PGP SIGNATURE-----
--2fHTh5uZTiUOsy+g--
- Raw text -