1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/sj3-lib/files/patch-ae
Jun Kuriyama ab70e18b82 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
1998-10-09 06:10:47 +00:00

27 lines
885 B
Plaintext

--- 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"