12345678910111213 |
- --- dbskkd-cdb-2.00_IMPORTED_FROM_SVN/dbskkd-cdb.c.org 2009-02-06 12:00:29.000000000 +0900
- +++ dbskkd-cdb-2.00_IMPORTED_FROM_SVN/dbskkd-cdb.c 2015-07-08 21:25:56.142444170 +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);
|