|
@@ -0,0 +1,13 @@
|
|
|
+--- dbskkd-cdb-2.00_IMPORTED_FROM_SVN/dbskkd-cdb.c.org 2009-02-06 12:00:29.000000000 +0900
|
|
|
|
|
|
+@@ -84,8 +84,8 @@
|
|
|
+ unsigned int keylen, datalen;
|
|
|
+
|
|
|
+ /* open dictionary cdb file */
|
|
|
+- if ((dicfd = open(JISYO_FILE, O_RDONLY, S_IRUSR)) < 0) {
|
|
|
+- diesys("cannot open() the dictionary file " JISYO_FILE);
|
|
|
++ if ((dicfd = open(argv[1], O_RDONLY, S_IRUSR)) < 0) {
|
|
|
++ diesys("cannot open() the dictionary file " argv[1]);
|
|
|
+ /* NOTREACHED */
|
|
|
+ }
|
|
|
+ cdb_init(&diccdb, dicfd);
|