aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/FreeWnn-lib/files/patch-ab11
-rw-r--r--japanese/FreeWnn-server/files/patch-ab11
2 files changed, 22 insertions, 0 deletions
diff --git a/japanese/FreeWnn-lib/files/patch-ab b/japanese/FreeWnn-lib/files/patch-ab
new file mode 100644
index 000000000000..594d6b6ab1e1
--- /dev/null
+++ b/japanese/FreeWnn-lib/files/patch-ab
@@ -0,0 +1,11 @@
+--- ./Wnn/jlib/js.c.org Thu Aug 18 18:30:48 1994
++++ ./Wnn/jlib/js.c Fri Mar 3 05:20:31 1995
+@@ -221,7 +221,7 @@
+ #endif
+ return -1;
+ }
+- if (connect(sd,(caddr_t)&saddr,strlen(saddr.sun_path)+sizeof(saddr.sun_family)) == ERROR) {
++ if (connect(sd,(caddr_t)&saddr,SUN_LEN(&saddr)) == ERROR) {
+
+ #if DEBUG
+ xerror("jslib:Can't connect socket.\n");
diff --git a/japanese/FreeWnn-server/files/patch-ab b/japanese/FreeWnn-server/files/patch-ab
new file mode 100644
index 000000000000..594d6b6ab1e1
--- /dev/null
+++ b/japanese/FreeWnn-server/files/patch-ab
@@ -0,0 +1,11 @@
+--- ./Wnn/jlib/js.c.org Thu Aug 18 18:30:48 1994
++++ ./Wnn/jlib/js.c Fri Mar 3 05:20:31 1995
+@@ -221,7 +221,7 @@
+ #endif
+ return -1;
+ }
+- if (connect(sd,(caddr_t)&saddr,strlen(saddr.sun_path)+sizeof(saddr.sun_family)) == ERROR) {
++ if (connect(sd,(caddr_t)&saddr,SUN_LEN(&saddr)) == ERROR) {
+
+ #if DEBUG
+ xerror("jslib:Can't connect socket.\n");