From 21473a384e73be8c3cf14e9a6a9b916c23255b37 Mon Sep 17 00:00:00 2001 From: Masanori Ogino Date: Tue, 28 Nov 2023 14:08:59 +0900 Subject: [PATCH] Remove email addresses and outdated comments Signed-off-by: Masanori Ogino --- demo/sample.c | 4 ---- include/Const.h | 8 -------- include/Paths.h | 13 ++----------- include/Paths.h.in | 12 +----------- include/kanakan.h | 2 +- include/server.h | 2 +- include/sj2.h | 4 ---- include/sj3.h | 2 +- include/sj3dic.h | 2 +- include/sj_func.h | 2 +- sj3/Imakefile | 4 ---- sj3/edit.c | 12 ------------ sj3/funckey.c | 4 ---- sj3/henkan.c | 4 ---- sj3/romaji.c | 4 ---- sj3/sj3.c | 38 -------------------------------------- sj3/sjrc.c | 4 ---- sj3mkdic/dicttool.h | 2 +- sj3serv/setup.c | 7 +------ sj3stat/sj3stat.c | 5 ----- 20 files changed, 10 insertions(+), 125 deletions(-) diff --git a/demo/sample.c b/demo/sample.c index 04d47ac..22e6bc2 100644 --- a/demo/sample.c +++ b/demo/sample.c @@ -44,10 +44,6 @@ #include "wchar16.h" #define RETURN(c) ((c == '\n') || (c == '\r')) -/* - * Change a default value. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ #define RKFILE "/usr/local/lib/sj3/sjrk" #define LOCALHOST "localhost" #define HBUFSIZ 512 diff --git a/include/Const.h b/include/Const.h index 583862e..34144e3 100644 --- a/include/Const.h +++ b/include/Const.h @@ -35,10 +35,6 @@ * $Id$ */ -/* - * Change some default values. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ #ifndef _Const_H_ #define _Const_H_ 1 @@ -75,10 +71,6 @@ #define ProtoName "tcp" #define PortNumber "3000" #else -/* - * Change the default Port number of sj3 for FreeBSD. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20 - */ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) #define PortNumber 3086 #else /* ! __FreeBSD__ __NetBSD__ __OpenBSD__ */ diff --git a/include/Paths.h b/include/Paths.h index e63400c..af6bfae 100644 --- a/include/Paths.h +++ b/include/Paths.h @@ -1,6 +1,6 @@ /* * Copyright (c) 1997 Sony Corporation - * Copyright (c) 1996 Hidekazu Kuroki + * Copyright (c) 1996 Hidekazu Kuroki * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -34,16 +34,7 @@ * $SonyDate: 1997/01/23 11:20:55 $ */ -/* - * Change ErrotOutFile variable. - * Because suppress a error when sj3serv start up, change to "/dev/stderr". - * This error is "Cannot Open "/dev/console".". - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - * - * Change ErrotOutFile variable. - * This default value is "/dev/null" in document. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/11 - */ + #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) #define ErrorOutFile "/dev/console" #else diff --git a/include/Paths.h.in b/include/Paths.h.in index 867830a..c379c84 100644 --- a/include/Paths.h.in +++ b/include/Paths.h.in @@ -1,6 +1,6 @@ /* * Copyright (c) 1997 Sony Corporation - * Copyright (c) 1996 Hidekazu Kuroki + * Copyright (c) 1996 Hidekazu Kuroki * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -34,16 +34,6 @@ * $SonyDate: 1997/01/23 11:20:55 $ */ -/* - * Change ErrotOutFile variable. - * Because suppress a error when sj3serv start up, change to "/dev/stderr". - * This error is "Cannot Open "/dev/console".". - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - * - * Change ErrotOutFile variable. - * This default value is "/dev/null" in document. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/11 - */ #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) #define ErrorOutFile "/dev/console" #else diff --git a/include/kanakan.h b/include/kanakan.h index 98c5f15..6000c99 100644 --- a/include/kanakan.h +++ b/include/kanakan.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 Hiroo Ono + * Copyright (c) 2004 Hiroo Ono * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/include/server.h b/include/server.h index f2fcd23..576ce80 100644 --- a/include/server.h +++ b/include/server.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 Hiroo Ono + * Copyright (c) 2004 Hiroo Ono * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/include/sj2.h b/include/sj2.h index 8e28dd0..6333386 100644 --- a/include/sj2.h +++ b/include/sj2.h @@ -95,10 +95,6 @@ -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ #if defined(TRUE) && defined(FALSE) #if (TRUE != 0) || (TRUE != -1) #undef TRUE diff --git a/include/sj3.h b/include/sj3.h index 83610db..f10301a 100644 --- a/include/sj3.h +++ b/include/sj3.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 Hiroo Ono + * Copyright (c) 2004 Hiroo Ono * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/include/sj3dic.h b/include/sj3dic.h index 2054d5e..3513c55 100644 --- a/include/sj3dic.h +++ b/include/sj3dic.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 Hiroo Ono + * Copyright (c) 2004 Hiroo Ono * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/include/sj_func.h b/include/sj_func.h index 6873d84..9705bb6 100644 --- a/include/sj_func.h +++ b/include/sj_func.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 Hiroo Ono + * Copyright (c) 2004 Hiroo Ono * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/sj3/Imakefile b/sj3/Imakefile index 7050bdc..f3ccf6f 100644 --- a/sj3/Imakefile +++ b/sj3/Imakefile @@ -32,10 +32,6 @@ * $SonyDate: 1997/01/23 11:20:53 $ */ -/* - * Change some make rules. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ #include "../sj3.tmpl" diff --git a/sj3/edit.c b/sj3/edit.c index 3ccada6..2bca10c 100644 --- a/sj3/edit.c +++ b/sj3/edit.c @@ -302,10 +302,6 @@ register int len; cv = GetConversion (); if (cv->Ppoint[n+1] == 0) return; -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ mlen = strlen ((char *)cv->Ppoint[n+1]); plen = cv->Ppoint[n] - cv->Ppoint[0]; p = cv->Ppoint[n]; @@ -732,10 +728,6 @@ int cur; ylen = wslen(Zs); limit = Elimit - ylen; -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ hlimit = Ehlimit - strlen((char *)Hs); *ztmp = '\0'; *htmp = '\0'; @@ -757,10 +749,6 @@ int cur; else (void)exec_romaji2(inc, htmp, ztmp, otmp, len, rlen); } -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ (void)exec_romaji2(0, htmp, ztmp, otmp, strlen((char *)ztmp), strlen((char *)htmp)); sj3_rkclear(); len = wslen (ztmp); diff --git a/sj3/funckey.c b/sj3/funckey.c index 14a1a68..e6781ae 100644 --- a/sj3/funckey.c +++ b/sj3/funckey.c @@ -123,10 +123,6 @@ mk_cvtkey(char* term) struct cvtkey *ckeyp; struct wcvtkey *wckeyp; -/* - * Change a default value. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ strcpy(cvtkey_file, DEFKEYFILE); strcpy(line, term); if((p = strchr(line, '-')) != NULL) diff --git a/sj3/henkan.c b/sj3/henkan.c index bc08a0e..64446ce 100644 --- a/sj3/henkan.c +++ b/sj3/henkan.c @@ -340,10 +340,6 @@ wchar16_t *in, *out; out += i; } if (*in != '\0') -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ (void)sj_hantozen(out, in, strlen((char *)in)); } diff --git a/sj3/romaji.c b/sj3/romaji.c index 56a97ad..b6ea022 100644 --- a/sj3/romaji.c +++ b/sj3/romaji.c @@ -370,10 +370,6 @@ int len; s2 += i; roma[res + i] = '\0'; rlen = sj3_rkconv2(roma, kstr, i + res - 1); -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ res = strlen((char *)roma); if (rlen <= 0) continue; diff --git a/sj3/sj3.c b/sj3/sj3.c index 9f11be0..3f27e16 100644 --- a/sj3/sj3.c +++ b/sj3/sj3.c @@ -199,10 +199,6 @@ init (char** argv) (void) signal (SIGBUS, (void (*)())makecore); (void) signal (SIGSEGV, (void (*)())makecore); (void) signal (SIGFPE, (void (*)())makecore); -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ #ifdef SIGTYPE_VOID sigpipe = (void(*)()) signal (SIGPIPE, SIG_IGN); #else @@ -467,11 +463,6 @@ getmaster (void) ioctl(master, I_PUSH, "pckt"); #else -/* - * Change pseudo-devices. - * Because FreeBSD's master pseudo-devices are pty[p-sP-S][0-9a-v]. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ #if defined(__FreeBSD__) || defined(__DragonFly__) struct stat stb; int h, i, j, k1, k2; @@ -486,11 +477,6 @@ getmaster (void) k1 = strlen("/dev/pty"); k2 = strlen ("/dev/ptyp"); -/* - * Change pseudo-devices. - * Because FreeBSD's master pseudo-devices are pty[p-sP-S][0-9a-v]. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ #if defined(__FreeBSD__) || defined(__DragonFly__) for (h = 0; h < 8; h++) { line[k1] = "pqrsPQRS"[h]; @@ -729,10 +715,6 @@ setdev (void) } #ifndef SVR4 -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ (void) signal (SIGCHLD, (void (*)())exitprocess); #endif } @@ -840,10 +822,6 @@ shellprocess (void) #else /* SYSV_TERMIOS */ struct utmp Utmp; char *p; -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ #define SCPYN(a, b) strncpy(a, b, sizeof(a)) if ((p = ttyname (0)) == NULL) @@ -893,10 +871,6 @@ shellprocess (void) shellargs[1] = (char *) 0; } -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ (void) signal (SIGPIPE, (void (*)())sigpipe); if ( *shellprog == '/' ) { if (shell_flag) { @@ -1069,10 +1043,6 @@ exitprocess (void) #else int pid, status; -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ pid = wait3 (&status, (WNOHANG|WUNTRACED), 0); if (WIFSTOPPED (status)) #endif @@ -1134,10 +1104,6 @@ cont: SetRegion(); } -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ #ifdef SIGTYPE_VOID old_sigtstp = (void(*)()) signal (SIGTSTP, SIG_DFL); #else @@ -1148,10 +1114,6 @@ cont: -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ (void) signal (SIGTSTP, (void (*)())old_sigtstp); killpg (Pid_shell, SIGCONT); fixtty (); diff --git a/sj3/sjrc.c b/sj3/sjrc.c index b6152b1..f5cacd8 100644 --- a/sj3/sjrc.c +++ b/sj3/sjrc.c @@ -441,10 +441,6 @@ set_forkshell (word) struct wordent word[]; { if (word[1].word_str[0] != '\0' && shellprog[0] == '\0') { -/* - * Remove warning. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ strcpy (shellprog, (char *)word[1].word_str); shell_flag++; } diff --git a/sj3mkdic/dicttool.h b/sj3mkdic/dicttool.h index a44534c..ad4181e 100644 --- a/sj3mkdic/dicttool.h +++ b/sj3mkdic/dicttool.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 Hiroo Ono + * Copyright (c) 2004 Hiroo Ono * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the diff --git a/sj3serv/setup.c b/sj3serv/setup.c index f02b710..49122d1 100644 --- a/sj3serv/setup.c +++ b/sj3serv/setup.c @@ -1,6 +1,6 @@ /* * Copyright (c) 1991-1994 Sony Corporation - * Copyright (c) 1996 Hidekazu Kuroki + * Copyright (c) 1996 Hidekazu Kuroki * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -231,11 +231,6 @@ struct optlist { 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, diff --git a/sj3stat/sj3stat.c b/sj3stat/sj3stat.c index a5017b4..045fe2e 100644 --- a/sj3stat/sj3stat.c +++ b/sj3stat/sj3stat.c @@ -91,11 +91,6 @@ main (int argc, char** argv) } fprintf (stdout, "%d users.\n", n); -/* - * Change hostname entry's length. - * Because it's so short. - * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 - */ fprintf(stdout, "%-16s %-32s %-8s %s\n", "(USER)", "(HOST)", "(FD)", "(CLIENT)"); for (i = 0; i < n; i++) {