Remove email addresses and outdated comments
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
3a56cbf3f2
commit
21473a384e
20 changed files with 10 additions and 125 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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__ */
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 1997 Sony Corporation
|
||||
* Copyright (c) 1996 Hidekazu Kuroki <hidekazu at cs.titech.ac.jp>
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 1997 Sony Corporation
|
||||
* Copyright (c) 1996 Hidekazu Kuroki <hidekazu at cs.titech.ac.jp>
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004 Hiroo Ono <hiroo+sj3 at oikumene.gcd.org>
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004 Hiroo Ono <hiroo+sj3 at oikumene.gcd.org>
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004 Hiroo Ono <hiroo+sj3 at oikumene.gcd.org>
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004 Hiroo Ono <hiroo+sj3 at oikumene.gcd.org>
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004 Hiroo Ono <hiroo+sj3 at oikumene.gcd.org>
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
12
sj3/edit.c
12
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);
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
38
sj3/sj3.c
38
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 ();
|
||||
|
|
|
|||
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004 Hiroo Ono <hiroo at oikumene.gcd.org>
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 1991-1994 Sony Corporation
|
||||
* Copyright (c) 1996 Hidekazu Kuroki <hidekazu at cs.titech.ac.jp>
|
||||
* 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,
|
||||
|
|
|
|||
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue