Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
kanji-lookup
kanji-lookup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kanji-lookup.patch of Package kanji-lookup
diff -ru kanji_lookup-1.0.orig/rad.c kanji_lookup-1.0/rad.c --- kanji_lookup-1.0.orig/rad.c Fri Dec 1 15:18:15 2000 +++ kanji_lookup-1.0/rad.c Sun Sep 16 15:40:30 2001 @@ -496,11 +496,11 @@ int main(int argc, char **argv) { - char ch; + int ch; dicdir = NULL; rkfile = NULL; - while ((ch = getopt(argc, argv, "d:hkr:")) != EOF) { + while ((ch = getopt(argc, argv, "d:hkr:")) != -1) { switch (ch) { case 'd': if (optarg) @@ -512,7 +512,7 @@ "portions copyright 1999, 2000 Botond Botyanszki <boti@beer.com>\n" "portions copyright 1998 Jim W Breen\n\n" "usage:\n" - "\t-d\tspecify edict directory (default /usr/share/edict)\n" + "\t-d\tspecify kanji/radical file directory (default /usr/share/kanji-lookup)\n" "\t-k\tdon't clear radical entry textfield after character selection\n" "\t-r\tspecify kanji/radical file (default radkfile)\n" "\t-h\tprint this help\n"); @@ -529,7 +529,7 @@ } klist = NULL; if (!dicdir) - dicdir = strdup("/usr/share/edict"); + dicdir = strdup("/usr/share/kanji-lookup"); if (!rkfile) rkfile = strdup("radkfile");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor