summaryrefslogtreecommitdiff
path: root/japanese/slirc/files/patch-init.sl
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/slirc/files/patch-init.sl')
-rw-r--r--japanese/slirc/files/patch-init.sl11
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/slirc/files/patch-init.sl b/japanese/slirc/files/patch-init.sl
new file mode 100644
index 000000000000..d2cc27c11e39
--- /dev/null
+++ b/japanese/slirc/files/patch-init.sl
@@ -0,0 +1,11 @@
+--- scripts/init.sl.orig Sun Aug 22 03:22:41 1999
++++ scripts/init.sl Sat Jan 6 21:23:30 2001
+@@ -56,7 +56,7 @@
+ return;
+ }
+ variable w = vf_write(irc_server, st);
+- if (w == strlen(st)) return;
++ if (w >= strlen(st)) return;
+ irc_Inff("incomplete server write: %d/%d",w,strlen(st));
+ % () = fflush(irc_server);
+ }