aboutsummaryrefslogtreecommitdiff
path: root/japanese/sj3-lib/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/sj3-lib/files/patch-aa')
-rw-r--r--japanese/sj3-lib/files/patch-aa140
1 files changed, 0 insertions, 140 deletions
diff --git a/japanese/sj3-lib/files/patch-aa b/japanese/sj3-lib/files/patch-aa
index b4670f0add7f..584eee7aef56 100644
--- a/japanese/sj3-lib/files/patch-aa
+++ b/japanese/sj3-lib/files/patch-aa
@@ -359,143 +359,3 @@ diff -arcN ../sj3-2.0.1.13.org/doc/man/sj3serv.1 ./doc/man/sj3serv.1
かな漢字変換サーバ デフォルト辞書ディレクトリ
.TP
sj3main.dic
-*** server/setup.c.orig Mon Mar 23 05:48:02 1998
---- server/setup.c Fri Feb 2 19:53:37 2001
-***************
-*** 217,251 ****
-
-
- struct optlist {
-! char *optname;
- u_char *(*optfunc)();
-! int optarg;
- } option[] = {
-! "DebugOut", get_str, (int)&debug_file,
-! "DebugLevel", get_int, (int)&debug_level,
-! "ForkFlag", get_flag, (int)&fork_flag,
-
-! "PortName", get_str, (int)&port_name,
- #ifdef TLI
-! "PortNumber", get_str, (int)&port_number,
-! "ProtoName", get_str, (int)&proto_name,
- #else
-! "PortNumber", get_int, (int)&port_number,
- #endif
-! "SocketName", get_str, (int)&socket_name,
- #ifdef LOCK_FILE
-! "LockFile", get_str, (int)&lock_file;
- #endif
-
-! "maxclient", get_int, (int)&max_client,
-! "dictdir", get_str, (int)&dict_dir,
-! "readdict", get_list, (int)&read_dict,
-! "opendict", get_list, (int)&open_dict,
-! "errorout", get_str, (int)&error_file,
-! "logout", get_str, (int)&log_file,
-! "dirmode", get_int, (int)&dir_mode,
-! "filemode", get_int, (int)&file_mode,
-! "allowuser", get_list, (int)&allow_user,
- 0, 0, 0
- };
-
---- 217,274 ----
-
-
- struct optlist {
-! const char *optname;
- u_char *(*optfunc)();
-! void *optarg;
- } option[] = {
-! /*
-! * Add option flag.
-! * Because They are lacked in here. See document.
-! * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10
-! */
-! "DebugOut", get_str, &debug_file,
-! "debugout", get_str, &debug_file,
-! "DebugLevel", get_int, &debug_level,
-! "debuglevel", get_int, &debug_level,
-! "ForkFlag", get_flag, &fork_flag,
-! "forkflag", get_flag, &fork_flag,
-
-! "PortName", get_str, &port_name,
-! "portname", get_str, &port_name,
- #ifdef TLI
-! "PortNumber", get_str, &port_number,
-! "portnumber", get_str, &port_number,
-! "ProtoName", get_str, &proto_name,
-! "protoname", get_str, &proto_name,
- #else
-! "PortNumber", get_int, &port_number,
-! "portnumber", get_int, &port_number,
- #endif
-! "SocketName", get_str, &socket_name,
-! "socketname", get_str, &socket_name,
- #ifdef LOCK_FILE
-! "LockFile", get_str, &lock_file;
-! "lockfile", get_str, &lock_file;
- #endif
-
-! "MaxClient", get_int, &max_client,
-! "maxclient", get_int, &max_client,
-! "DictDir", get_str, &dict_dir,
-! "dictdir", get_str, &dict_dir,
-! "ReadDict", get_list, &read_dict,
-! "readdict", get_list, &read_dict,
-! "OpenDict", get_list, &open_dict,
-! "opendict", get_list, &open_dict,
-! "ErrorOut", get_str, &error_file,
-! "errorout", get_str, &error_file,
-! "LogOut", get_str, &log_file,
-! "logout", get_str, &log_file,
-! "DirMode", get_int, &dir_mode,
-! "dirmode", get_int, &dir_mode,
-! "FileMode", get_int, &file_mode,
-! "filemode", get_int, &file_mode,
-! "AllowUser", get_list, &allow_user,
-! "allowuser", get_list, &allow_user,
- 0, 0, 0
- };
-
-***************
-*** 424,441 ****
- int c;
- int errflg = 0;
- char *p;
-
- extern char *optarg, *strrchr();
- extern int optind;
-
- p = (p = strrchr(argv[0], '/')) ? p + 1 : argv[0];
-! strcpy(program_name, p);
-! strcpy(runcmd_file, RunCmdFile);
-
- while ((c = getopt(argc, argv, "f:")) != EOF) {
- switch (c) {
- case 'f':
-! strcpy(runcmd_file, optarg);
- break;
-
- case '?':
---- 447,467 ----
- int c;
- int errflg = 0;
- char *p;
-+ size_t ret;
-
- extern char *optarg, *strrchr();
- extern int optind;
-
- p = (p = strrchr(argv[0], '/')) ? p + 1 : argv[0];
-! strlcpy(program_name, p, sizeof(program_name));
-! strlcpy(runcmd_file, RunCmdFile, sizeof(runcmd_file));
-
- while ((c = getopt(argc, argv, "f:")) != EOF) {
- switch (c) {
- case 'f':
-! ret = strlcpy(runcmd_file, optarg, sizeof(runcmd_file));
-! if (ret > sizeof(runcmd_file))
-! errflg++;
- break;
-
- case '?':