Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src 1. PR/42209 various problems with EBCDIC support in iconv(3)



details:   https://anonhg.NetBSD.org/src/rev/4452cd57ed12
branches:  trunk
changeset: 749023:4452cd57ed12
user:      tnozaki <tnozaki%NetBSD.org@localhost>
date:      Sat Nov 14 01:56:21 2009 +0000

description:
1. PR/42209 various problems with EBCDIC support in iconv(3)
part3: added CP114[0-9] support.
2. fix csmapper name separator.

diffstat:

 distrib/sets/lists/base/mi            |   32 +++++-
 share/i18n/csmapper/CP/CP.part        |   12 +-
 share/i18n/csmapper/CP/CP037%UCS.src  |  137 +++--------------------
 share/i18n/csmapper/CP/CP038%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP1140%UCS.src |  194 +++++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP1141%UCS.src |  178 ++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP1142%UCS.src |  178 ++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP1143%UCS.src |  180 +++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP1144%UCS.src |  180 +++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP1145%UCS.src |  180 +++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP1146%UCS.src |  178 ++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP1147%UCS.src |  182 +++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP1148%UCS.src |  196 ++++++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP1149%UCS.src |  178 ++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/CP273%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP274%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP275%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP277%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP278%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP280%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP281%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP284%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP285%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP290%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP297%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP420%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP423%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP500%UCS.src  |  133 +++-------------------
 share/i18n/csmapper/CP/CP851%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP868%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP870%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP871%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP880%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP891%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP903%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP904%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP905%UCS.src  |    4 +-
 share/i18n/csmapper/CP/CP918%UCS.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP037.src  |  137 +++--------------------
 share/i18n/csmapper/CP/UCS%CP038.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP1140.src |  194 +++++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP1141.src |  178 ++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP1142.src |  178 ++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP1143.src |  180 +++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP1144.src |  180 +++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP1145.src |  180 +++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP1146.src |  178 ++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP1147.src |  182 +++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP1148.src |  196 ++++++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP1149.src |  178 ++++++++++++++++++++++++++++++
 share/i18n/csmapper/CP/UCS%CP273.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP274.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP275.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP277.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP278.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP280.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP281.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP284.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP285.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP290.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP297.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP420.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP423.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP500.src  |  133 +++-------------------
 share/i18n/csmapper/CP/UCS%CP851.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP868.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP870.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP871.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP880.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP891.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP903.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP904.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP905.src  |    4 +-
 share/i18n/csmapper/CP/UCS%CP918.src  |    4 +-
 share/i18n/esdb/CP/CP.alias           |   12 +-
 share/i18n/esdb/CP/CP.part            |   12 +-
 76 files changed, 3890 insertions(+), 558 deletions(-)

diffs (truncated from 5406 to 300 lines):

diff -r 12c6e6904835 -r 4452cd57ed12 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Fri Nov 13 23:11:08 2009 +0000
+++ b/distrib/sets/lists/base/mi        Sat Nov 14 01:56:21 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.841 2009/11/05 21:11:53 dyoung Exp $
+# $NetBSD: mi,v 1.842 2009/11/14 01:56:21 tnozaki Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -1620,6 +1620,16 @@
 ./usr/share/i18n/csmapper/CP/CP1129%UCS.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/CP1131%UCS.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/CP1133%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1140%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1141%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1142%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1143%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1144%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1145%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1146%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1147%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1148%UCS.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/CP1149%UCS.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/CP1161%UCS.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/CP1162%UCS.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/CP1163%UCS.mps    base-sysutil-share      nls
@@ -1703,6 +1713,16 @@
 ./usr/share/i18n/csmapper/CP/UCS%CP1129.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/UCS%CP1131.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/UCS%CP1133.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1140.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1141.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1142.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1143.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1144.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1145.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1146.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1147.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1148.mps    base-sysutil-share      nls
+./usr/share/i18n/csmapper/CP/UCS%CP1149.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/UCS%CP1161.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/UCS%CP1162.mps    base-sysutil-share      nls
 ./usr/share/i18n/csmapper/CP/UCS%CP1163.mps    base-sysutil-share      nls
@@ -2026,6 +2046,16 @@
 ./usr/share/i18n/esdb/CP/CP1129.esdb           base-sysutil-share      nls
 ./usr/share/i18n/esdb/CP/CP1131.esdb           base-sysutil-share      nls
 ./usr/share/i18n/esdb/CP/CP1133.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1140.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1141.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1142.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1143.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1144.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1145.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1146.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1147.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1148.esdb           base-sysutil-share      nls
+./usr/share/i18n/esdb/CP/CP1149.esdb           base-sysutil-share      nls
 ./usr/share/i18n/esdb/CP/CP1161.esdb           base-sysutil-share      nls
 ./usr/share/i18n/esdb/CP/CP1162.esdb           base-sysutil-share      nls
 ./usr/share/i18n/esdb/CP/CP1163.esdb           base-sysutil-share      nls
diff -r 12c6e6904835 -r 4452cd57ed12 share/i18n/csmapper/CP/CP.part
--- a/share/i18n/csmapper/CP/CP.part    Fri Nov 13 23:11:08 2009 +0000
+++ b/share/i18n/csmapper/CP/CP.part    Sat Nov 14 01:56:21 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CP.part,v 1.12 2007/07/15 14:41:18 tnozaki Exp $
+# $NetBSD: CP.part,v 1.13 2009/11/14 01:56:21 tnozaki Exp $
 
 037
 038
@@ -63,6 +63,16 @@
 1129
 1131
 1133
+1140
+1141
+1142
+1143
+1144
+1145
+1146
+1147
+1148
+1149
 1161
 1162
 1163
diff -r 12c6e6904835 -r 4452cd57ed12 share/i18n/csmapper/CP/CP037%UCS.src
--- a/share/i18n/csmapper/CP/CP037%UCS.src      Fri Nov 13 23:11:08 2009 +0000
+++ b/share/i18n/csmapper/CP/CP037%UCS.src      Sat Nov 14 01:56:21 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CP037%UCS.src,v 1.3 2006/10/19 14:06:14 tnozaki Exp $
+# $NetBSD: CP037%UCS.src,v 1.4 2009/11/14 01:56:22 tnozaki Exp $
 
 TYPE           ROWCOL
 NAME           "CP037/UCS"
@@ -28,10 +28,7 @@
 #
 #    The entries are in cp037_IBMUSCanada order
 #
-0x00 = 0x0000
-0x01 = 0x0001
-0x02 = 0x0002
-0x03 = 0x0003
+0x00 - 0x03 = 0x0000 -
 0x04 = 0x009C
 0x05 = 0x0009
 0x06 = 0x0086
@@ -39,15 +36,7 @@
 0x08 = 0x0097
 0x09 = 0x008D
 0x0A = 0x008E
-0x0B = 0x000B
-0x0C = 0x000C
-0x0D = 0x000D
-0x0E = 0x000E
-0x0F = 0x000F
-0x10 = 0x0010
-0x11 = 0x0011
-0x12 = 0x0012
-0x13 = 0x0013
+0x0B - 0x13 = 0x000B -
 0x14 = 0x009D
 0x15 = 0x0085
 0x16 = 0x0008
@@ -56,38 +45,19 @@
 0x19 = 0x0019
 0x1A = 0x0092
 0x1B = 0x008F
-0x1C = 0x001C
-0x1D = 0x001D
-0x1E = 0x001E
-0x1F = 0x001F
-0x20 = 0x0080
-0x21 = 0x0081
-0x22 = 0x0082
-0x23 = 0x0083
-0x24 = 0x0084
+0x1C - 0x1F = 0x001C -
+0x20 - 0x24 = 0x0080 -
 0x25 = 0x000A
 0x26 = 0x0017
 0x27 = 0x001B
-0x28 = 0x0088
-0x29 = 0x0089
-0x2A = 0x008A
-0x2B = 0x008B
-0x2C = 0x008C
-0x2D = 0x0005
-0x2E = 0x0006
-0x2F = 0x0007
+0x28 - 0x2C = 0x0088 -
+0x2D - 0x2F = 0x0005 -
 0x30 = 0x0090
 0x31 = 0x0091
 0x32 = 0x0016
-0x33 = 0x0093
-0x34 = 0x0094
-0x35 = 0x0095
-0x36 = 0x0096
+0x33 - 0x36 = 0x0093 -
 0x37 = 0x0004
-0x38 = 0x0098
-0x39 = 0x0099
-0x3A = 0x009A
-0x3B = 0x009B
+0x38 - 0x3B = 0x0098 -
 0x3C = 0x0014
 0x3D = 0x0015
 0x3E = 0x009E
@@ -109,13 +79,9 @@
 0x4E = 0x002B
 0x4F = 0x007C
 0x50 = 0x0026
-0x51 = 0x00E9
-0x52 = 0x00EA
-0x53 = 0x00EB
+0x51 - 0x53 = 0x00E9 -
 0x54 = 0x00E8
-0x55 = 0x00ED
-0x56 = 0x00EE
-0x57 = 0x00EF
+0x55 - 0x57 = 0x00ED -
 0x58 = 0x00EC
 0x59 = 0x00DF
 0x5A = 0x0021
@@ -141,13 +107,9 @@
 0x6E = 0x003E
 0x6F = 0x003F
 0x70 = 0x00F8
-0x71 = 0x00C9
-0x72 = 0x00CA
-0x73 = 0x00CB
+0x71 - 0x73 = 0x00C9 -
 0x74 = 0x00C8
-0x75 = 0x00CD
-0x76 = 0x00CE
-0x77 = 0x00CF
+0x75 - 0x77 = 0x00CD -
 0x78 = 0x00CC
 0x79 = 0x0060
 0x7A = 0x003A
@@ -157,15 +119,7 @@
 0x7E = 0x003D
 0x7F = 0x0022
 0x80 = 0x00D8
-0x81 = 0x0061
-0x82 = 0x0062
-0x83 = 0x0063
-0x84 = 0x0064
-0x85 = 0x0065
-0x86 = 0x0066
-0x87 = 0x0067
-0x88 = 0x0068
-0x89 = 0x0069
+0x81 - 0x89 = 0x0061 -
 0x8A = 0x00AB
 0x8B = 0x00BB
 0x8C = 0x00F0
@@ -173,15 +127,7 @@
 0x8E = 0x00FE
 0x8F = 0x00B1
 0x90 = 0x00B0
-0x91 = 0x006A
-0x92 = 0x006B
-0x93 = 0x006C
-0x94 = 0x006D
-0x95 = 0x006E
-0x96 = 0x006F
-0x97 = 0x0070
-0x98 = 0x0071
-0x99 = 0x0072
+0x91 - 0x99 = 0x006A -
 0x9A = 0x00AA
 0x9B = 0x00BA
 0x9C = 0x00E6
@@ -190,14 +136,7 @@
 0x9F = 0x00A4
 0xA0 = 0x00B5
 0xA1 = 0x007E
-0xA2 = 0x0073
-0xA3 = 0x0074
-0xA4 = 0x0075
-0xA5 = 0x0076
-0xA6 = 0x0077
-0xA7 = 0x0078
-0xA8 = 0x0079
-0xA9 = 0x007A
+0xA2 - 0xA9 = 0x0073 -
 0xAA = 0x00A1
 0xAB = 0x00BF
 0xAC = 0x00D0
@@ -211,9 +150,7 @@
 0xB4 = 0x00A9
 0xB5 = 0x00A7
 0xB6 = 0x00B6
-0xB7 = 0x00BC
-0xB8 = 0x00BD
-0xB9 = 0x00BE
+0xB7 - 0xB9 = 0x00BC -
 0xBA = 0x005B
 0xBB = 0x005D
 0xBC = 0x00AF
@@ -221,15 +158,7 @@
 0xBE = 0x00B4
 0xBF = 0x00D7
 0xC0 = 0x007B
-0xC1 = 0x0041
-0xC2 = 0x0042
-0xC3 = 0x0043
-0xC4 = 0x0044
-0xC5 = 0x0045
-0xC6 = 0x0046
-0xC7 = 0x0047
-0xC8 = 0x0048
-0xC9 = 0x0049
+0xC1 - 0xC9 = 0x0041 -
 0xCA = 0x00AD
 0xCB = 0x00F4
 0xCC = 0x00F6
@@ -237,15 +166,7 @@
 0xCE = 0x00F3
 0xCF = 0x00F5
 0xD0 = 0x007D
-0xD1 = 0x004A
-0xD2 = 0x004B
-0xD3 = 0x004C
-0xD4 = 0x004D
-0xD5 = 0x004E
-0xD6 = 0x004F
-0xD7 = 0x0050
-0xD8 = 0x0051
-0xD9 = 0x0052
+0xD1 - 0xD9 = 0x004A -
 0xDA = 0x00B9
 0xDB = 0x00FB
 0xDC = 0x00FC
@@ -254,30 +175,14 @@
 0xDF = 0x00FF
 0xE0 = 0x005C
 0xE1 = 0x00F7



Home | Main Index | Thread Index | Old Index