12345678910111213 |
- @@ -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);
|