Fixed a bug. Add parts.
authorKoichi KAMICHI <kamichi@fonts.jp>
Tue, 14 Dec 2004 14:04:40 +0000 (14:04 +0000)
committerKoichi KAMICHI <kamichi@fonts.jp>
Tue, 14 Dec 2004 14:04:40 +0000 (14:04 +0000)
kagedb/getpartstxt.pl
kagedb/parts.txt

index 4b0ed88..d64f61c 100644 (file)
@@ -15,7 +15,7 @@ $partsdir =~ s/\/?$//; # remove the last slash
 use Fcntl;
 use BerkeleyDB;
 
-tie %db, "BerkeleyDB::Hash", -Filename => "partsdb", -Flags => DB_RDONLY
+tie %db, "BerkeleyDB::Hash", -Filename => "$partsdir/partsdb", -Flags => DB_RDONLY
 or die "An error occured at opening DB file.\n";
 %db = ();
 
index b7230dd..5dec874 100644 (file)
@@ -309,15 +309,16 @@ u5382     1:2:0:25:11:201:11:0:0:0:0$7:12:0:25:11:25:95:26:162:0:200$9:0:0:53:37:199
 u53b6  2:0:7:103:2:70:103:28:186:0:0$2:0:7:2:190:92:174:191:165:0:0$2:7:8:137:96:175:143:195:195:0:0
 u53b7  99:0:0:3:-1:201:159:u20087$99:0:0:37:94:186:194:u53b6
 u53bb  99:0:0:0:0:204:116:u571f$99:0:0:25:95:174:198:u53b6
-u53c8  1:0:2:18:6:157:6:0:0:0:0$2:22:7:157:6:125:164:1:199:0:0$2:7:0:37:37:71:176:199:195:0:0
+u53c8  1:0:2:18:7:172:7\r$2:22:7:172:7:138:174:1:199\r$2:7:0:36:19:65:161:199:195
 u53c8-0001     1:0:2:9:6:183:6:0:0:0:0$2:22:7:183:6:136:167:-3:201:0:0$2:7:8:27:33:134:93:195:194:0:0
-u53ca  1:0:2:16:7:141:8:0:0:0:0$1:22:13:137:6:125:67:0:0:0:0$1:2:2:124:72:184:72:0:0:0:0$2:22:7:184:71:161:181:47:199$2:32:7:73:9:70:145:-1:191:0:0$2:7:0:72:35:82:170:200:195:0:0
+u53ca  1:0:2:16:7:141:8\r$1:22:13:137:6:122:64\r$1:2:2:122:63:182:63\r$2:22:7:183:62:142:177:41:198\r$2:32:7:73:9:70:145:-1:191\r$2:7:0:72:35:77:170:200:195
 u53cb  1:0:0:6:47:201:47:0:0:0:0$2:0:7:77:1:63:139:-1:173:0:0$1:2:2:60:92:139:92:0:0:0:0$2:22:7:139:92:108:184:19:197:0:0$2:7:0:52:99:95:186:185:195:0:0
 u53cd  1:2:0:28:11:196:11:0:0:0:0$7:12:0:28:11:28:53:27:143:0:169$1:2:2:28:66:163:66:0:0:0:0$2:22:7:163:66:129:186:22:199$2:7:0:50:72:91:176:200:195:0:0
 u53e3  1:12:13:6:7:6:185:0:0:0:0$1:2:2:6:7:190:7:0:0:0:0$1:22:23:190:7:190:185:0:0:0:0$1:2:2:6:185:190:185:0:0:0:0
 u53e4  1:0:0:14:56:189:56$1:0:32:100:11:100:107$99:0:0:35:98:163:185:u53e3
 u53ef  1:0:0:16:42:184:42$1:32:4:144:42:144:180$99:0:0:38:68:115:134:u53e3
 u53f8  99:0:0:19:7:186:193:v200cc-01$1:0:0:37:66:138:66$99:0:0:39:85:133:155:u53e3
+u5405  99:0:0:8:-7:95:204:u53e3\r$99:0:0:98:-7:194:205:u53e3
 u540f  1:0:0:28:35:179:35$99:0:0:40:51:163:117:u53e3$7:0:7:105:9:102:98:100:171:26:195$2:7:0:64:128:100:180:184:189
 u56d7  99:0:0:6:4:194:188:u53e3$9:0:0:39:29:164:160
 u571f  1:0:0:14:79:180:79$1:0:32:97:0:97:199$1:0:0:0:199:201:199
@@ -326,7 +327,7 @@ u58eb       0:20:0:0$1:0:0:0:75:201:75:0:0:0:0$1:0:32:100:0:100:198:0:0:0:0$1:0:0:9:19
 u58ec  2:0:7:165:19:104:50:22:57$1:0:0:10:102:189:102$1:32:32:99:45:99:175$1:0:0:18:175:185:175
 u5902  2:12:7:55:8:45:49:17:81:0:0$1:2:2:55:8:143:8:0:0:0:0$2:22:7:143:8:104:168:-2:196:0:0$2:7:0:46:27:88:163:199:195:0:0
 u590b  99:0:0:28:7:166:73:u53b6$2:0:7:80:71:75:104:39:114$3:0:0:115:69:115:106:165:106$99:0:0:24:114:177:198:u5902
-u5915  0:20:0:0$2:0:7:81:2:60:61:-1:98:0:0$1:2:2:64:39:190:39:0:0:0:0$2:22:7:190:39:151:152:19:201:0:0$2:7:8:38:85:88:100:111:122:0:0$
+u5915  0:20:0:0\r$2:0:7:81:2:62:70:11:101\r$1:2:2:70:39:179:39\r$2:22:7:179:38:147:162:30:200\r$2:7:8:61:76:93:99:110:124\r$
 u5927  1:0:0:0:67:197:67:0:0:0:0$2:0:7:94:0:107:134:0:199:0:0$2:7:0:99:67:109:144:197:195:0:0
 u5929  1:0:0:5:11:195:11:0:0:0:0$1:0:0:18:76:184:76:0:0:0:0$7:32:0:98:16:100:72:94:165:-2:198$2:7:0:103:80:119:160:199:196:0:0
 u5929-1000     1:0:0:18:11:184:11:0:0:0:0$1:0:0:5:76:197:73:0:0:0:0$7:32:0:98:16:100:72:94:165:-2:198$2:7:0:103:80:119:160:199:196:0:0
@@ -401,7 +402,7 @@ u624b       2:0:7:156:6:102:29:18:41:0:0$1:0:0:8:79:186:79:0:0:0:0$1:0:0:0:128:201:128
 u624c  0:15:0:0$1:0:0:2:47:201:47:0:0:0:0$1:0:4:102:0:102:195:0:0:0:0$2:0:7:2:121:107:103:201:86:0:0
 u624d  1:0:0:0:53:201:53:0:0:0:0$1:0:4:130:0:130:195:0:0:0:0$2:32:7:130:56:82:134:3:175
 u627f  1:0:2:46:6:141:6:0:0:0:0$2:22:7:141:6:125:25:95:52:0:0$1:0:4:98:45:98:195:0:0:0:0$1:0:0:60:77:137:77:0:0:0:0$1:0:0:60:112:135:112:0:0:0:0$1:0:0:55:148:141:148:0:0:0:0$1:0:2:2:60:50:60:0:0:0:0$2:22:7:50:60:41:129:-1:168:0:0$2:0:7:185:43:169:63:144:77:0:0$2:7:0:138:46:148:141:198:174:0:0
-u6535  2:0:7:61:1:48:69:2:108$1:2:0:50:45:191:45$2:32:7:158:46:136:172:0:199$2:7:0:41:55:72:172:200:198
+u6535  2:0:7:61:1:48:69:2:108\r$1:2:0:50:45:191:45\r$2:32:7:138:46:128:173:0:197\r$2:7:0:41:55:60:159:175:195\r$
 u6587  99:1000:212:0:0:u4ea0:0:0$99:935:798:10:39:u4e42:0:0
 u6587-0003     1:0:32:100:0:100:65:0:0:0:0$1:0:0:17:65:187:65:0:0:0:0$2:0:7:155:71:99:170:-2:192:0:0$2:7:0:50:69:94:164:199:195:0:0
 u6587-01       99:1000:228:0:0:u4ea0:0:0$2:0:7:146:48:119:156:6:201:0:0$2:7:8:10:69:104:102:150:168:0:0
@@ -433,7 +434,7 @@ u672b       1:0:0:0:42:199:42:0:0:0:0$1:0:0:12:93:180:93$1:0:0:97:0:97:198:0:0:0:0$2:0
 u672c  1:0:0:6:49:192:49:0:0:0:0$1:0:0:98:0:98:198:0:0:0:0$2:0:7:95:50:59:123:-1:162:0:0$2:7:0:101:52:134:112:197:163:0:0$1:0:0:40:153:160:153
 u6731  2:0:7:46:13:32:61:3:85:0:0$1:2:0:34:47:176:47:0:0:0:0$1:0:0:0:97:199:97:0:0:0:0$1:0:0:97:0:97:198:0:0:0:0$2:0:7:98:99:63:153:0:186:0:0$2:7:0:103:96:133:147:198:186:0:0
 u6765  1:0:0:15:35:182:35:0:0:0:0$2:7:8:25:48:53:64:67:91:0:0$2:0:7:161:48:143:79:115:99:0:0$1:0:0:0:105:201:105:0:0:0:0$1:0:0:98:0:98:198:0:0:0:0$2:0:7:98:105:58:154:1:183:0:0$2:7:0:98:100:137:150:192:181:0:0
-u6b20  2:0:7:48:1:38:61:1:94:0:0$1:2:2:38:47:175:47:0:0:0:0$2:22:7:175:47:165:66:145:91:0:0$99:1007:747:0:50:u4eba:0:0
+u6b20  2:0:7:51:4:39:74:9:104\r$1:2:2:42:44:172:44\r$2:22:7:172:44:162:63:142:88\r$99:0:0:2:56:193:208:u4eba\r$
 u6b62  1:0:32:102:0:102:199:0:0:0:0$1:2:0:102:93:170:93:0:0:0:0$1:0:32:42:54:42:199:0:0:0:0$1:0:0:0:199:201:199:0:0:0:0
 u6b62-0001     1:0:32:113:0:113:172:0:0:0:0$1:2:0:113:81:187:81:0:0:0:0$1:0:32:46:53:46:186:0:0:0:0$12:0:7:2:192:94:180:201:159:0:0
 u6b63  1:0:0:19:11:182:11:0:0:0:0$1:32:32:101:11:101:199:0:0:0:0$1:2:0:101:99:171:99:0:0:0:0$1:0:32:42:82:43:199:0:0:0:0$1:0:0:0:199:201:199:0:0:0:0
@@ -519,6 +520,7 @@ u8279-k     1:0:2:0:28:84:28$1:2:0:110:28:201:28$1:0:0:53:0:53:55:0:0:0:0$1:0:0:142:
 u83d0  1:0:32:79:5:79:52$1:0:32:114:5:114:51$2:7:8:33:12:52:26:57:41$2:0:7:156:12:147:35:130:48$1:0:0:18:53:180:53$2:7:8:55:59:71:71:77:83$2:0:7:134:60:127:78:111:90$1:0:0:37:93:156:93$1:0:0:43:119:150:119$1:0:0:22:145:175:145$2:0:7:98:94:90:185:21:196$2:7:0:97:120:117:176:178:192
 u866b  99:0:0:21:46:182:118:u53e3$1:0:32:101:0:101:176:0:0:0:0$2:0:7:2:192:90:179:174:162$2:7:8:141:132:177:166:195:195:0:0
 u866b-01       99:0:0:20:43:192:119:u53e3$1:0:32:107:0:107:169:0:0:0:0$12:0:7:2:193:85:176:179:154$2:7:8:138:136:175:152:191:174
+u8840  2:0:7:86:15:74:42:51:60\r$99:0:0:2:34:203:213:u76bf\r$
 u8863  99:0:0:4:15:194:64:u4ea0$99:0:0:3:56:191:189:pd0041
 u8864  2:7:8:61:0:108:14:129:28:0:0$1:0:2:21:45:181:45:0:0:0:0$2:22:7:181:45:104:109:-2:130:0:0$2:7:8:114:95:158:105:188:122:0:0$1:32:0:108:98:108:198:0:0:0:0$2:0:7:199:85:183:96:152:107:0:0
 u8868  99:0:0:1:6:197:105:pd0040$99:0:0:7:90:190:190:pd0041