summaryrefslogtreecommitdiff
path: root/japanese/sj3-lib/files/patch-ae
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1998-10-09 06:10:47 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1998-10-09 06:10:47 +0000
commitab70e18b823a3b1b2bf781bafc084ec0ff4dac77 (patch)
tree3af59ec8647e50369da0cf1ed92a3af7ae34760a /japanese/sj3-lib/files/patch-ae
parentQuote '. (diff)
The current japanese/sj3 (sj3-2.0.1.13) has a security bug of sj3serv.
sj3-2.0.1.20 has already been released. In the version one, the bug was fixed. PR: ports/8093 Submitted by: taoka@infonets.hiroshima-u.ac.jp
Notes
Notes: svn path=/head/; revision=13780
Diffstat (limited to 'japanese/sj3-lib/files/patch-ae')
-rw-r--r--japanese/sj3-lib/files/patch-ae26
1 files changed, 26 insertions, 0 deletions
diff --git a/japanese/sj3-lib/files/patch-ae b/japanese/sj3-lib/files/patch-ae
new file mode 100644
index 000000000000..939c71115c9b
--- /dev/null
+++ b/japanese/sj3-lib/files/patch-ae
@@ -0,0 +1,26 @@
+--- include/Paths.h.in.orig Thu Jan 23 20:20:57 1997
++++ include/Paths.h.in Tue Aug 18 11:29:00 1998
+@@ -33,7 +33,22 @@
+ * $SonyDate: 1997/01/23 11:20:55 $
+ */
+
+-#define ErrorOutFile "/dev/console"
++/*
++ * 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__)
++#define ErrorOutFile "/dev/console"
++#else
++/* #define ErrorOutFile "/dev/stderr" */ /* for test */
++#define ErrorOutFile "/dev/null"
++#endif
+
+ #define SocketName "/tmp/sj3sock"
+ #define LockFile "/tmp/SJ3SERV.EXIST"