Subject: locale ctype corrections
To: None <tech-userlevel@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-userlevel
Date: 03/07/2005 17:38:47
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi all,
I'm not sure which is the best place to post this,
but the attached patch fixes some bugs in the ctype
sources. I have similiar patches for share/i18n,
they will follow if you are interested.

Joerg

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="locale.patch"

Index: en_US.ISO_8859-2.src
===================================================================
RCS file: /home/joerg/wd/repository/netbsd/src/share/locale/ctype/en_US.ISO_8859-2.src,v
retrieving revision 1.4
diff -u -r1.4 en_US.ISO_8859-2.src
--- en_US.ISO_8859-2.src	24 Jun 2004 03:28:50 -0000	1.4
+++ en_US.ISO_8859-2.src	7 Mar 2005 16:31:46 -0000
@@ -27,7 +27,7 @@
 UPPER		'A' - 'Z' 
 		0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf 
 		0xc0 - 0xd6 0xd8 - 0xde
-XDIGIT		'a' - 'f' 'A' - 'F'
+XDIGIT		'0' - '9' 'a' - 'f' 'A' - 'F'
 BLANK		' ' '\t' 0xa0
 PRINT		0x20 - 0x7e 0xa0 - 0xff
 SWIDTH1		0x20 - 0x7e 0xa0 - 0xff
Index: en_US.ISO_8859-4.src
===================================================================
RCS file: /home/joerg/wd/repository/netbsd/src/share/locale/ctype/en_US.ISO_8859-4.src,v
retrieving revision 1.4
diff -u -r1.4 en_US.ISO_8859-4.src
--- en_US.ISO_8859-4.src	24 Jun 2004 03:28:50 -0000	1.4
+++ en_US.ISO_8859-4.src	7 Mar 2005 16:31:51 -0000
@@ -26,7 +26,7 @@
 UPPER		'A' - 'Z' 
 		0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae
 		0xc0 - 0xd6 0xd8 - 0xde
-XDIGIT		'a' - 'f' 'A' - 'F'
+XDIGIT		'0' - '9' 'a' - 'f' 'A' - 'F'
 BLANK		' ' '\t' 0xa0
 PRINT		0x20 - 0x7e 0xa0 - 0xff
 SWIDTH1		0x20 - 0x7e 0xa0 - 0xff
Index: ja_JP.SJIS.src
===================================================================
RCS file: /home/joerg/wd/repository/netbsd/src/share/locale/ctype/ja_JP.SJIS.src,v
retrieving revision 1.2
diff -u -r1.2 ja_JP.SJIS.src
--- ja_JP.SJIS.src	26 Mar 2001 19:56:36 -0000	1.2
+++ ja_JP.SJIS.src	7 Mar 2005 16:32:36 -0000
@@ -47,7 +47,7 @@
 PUNCT		0x21-0x2f 0x3a-0x40 0x5b-0x60 0x7b-0x7e
 SPACE		0x09-0x0d 0x20
 UPPER		'A'-'Z'
-XDIGIT		'a'-'f' 'A'-'F'
+XDIGIT		'0' - '9' 'a'-'f' 'A'-'F'
 BLANK		' ' '\t'
 PRINT		0x20-0x7e
 SWIDTH1		0x20-0x7e

--qMm9M+Fa2AknHoGS--