source: projects/specs/trunk/d/dbskkd-cdb/dbskkd-cdb-2.00.c.patch @ 10160

Revision 10160, 559 bytes checked in by ara_t, 8 years ago (diff)

add patch and xinetd files

  • dbskkd-cdb-2.00_IMPORTED_FROM_SVN/dbskkd-cdb.c

    old new  
    8484  unsigned int keylen, datalen; 
    8585 
    8686  /* open dictionary cdb file */ 
    87   if ((dicfd = open(JISYO_FILE, O_RDONLY, S_IRUSR)) < 0) { 
    88     diesys("cannot open() the dictionary file " JISYO_FILE); 
     87  if ((dicfd = open(argv[1], O_RDONLY, S_IRUSR)) < 0) { 
     88    diesys("cannot open() the dictionary file " argv[1]); 
    8989    /* NOTREACHED */ 
    9090  } 
    9191  cdb_init(&diccdb, dicfd); 
Note: See TracBrowser for help on using the repository browser.