openbsd-ports/japanese/Wnn/patches/patch-Wnn_jlib_js_c
espie e8c9eaf450 Loads of changes, not quite finished yet.
- format man pages using new jgroff, so that we can install a full set
of documentation.
- move INSTALL script into a separate script, so that adding a new user
need not be done at the time of INSTALL.
- add a few strlcpy to fix a few holes. This stuff is rather bad, though.
- use terminfo instead of termcap, for better keycap names, fixing quite
a few bugs that made it impossible to build that version along the way...
- move scripts into /usr/local/bin instead of /usr/local/bin/Wnn4.

- use @comment no checksum
in packing list, even though pkg_add does not support that yet.
Not quite completely ready, but getting there...
2000-04-16 21:53:26 +00:00

13 lines
446 B
Plaintext

$OpenBSD: patch-Wnn_jlib_js_c,v 1.1 2000/04/16 21:53:31 espie Exp $
--- Wnn/jlib/js.c.orig Fri Aug 19 03:30:48 1994
+++ Wnn/jlib/js.c Thu Apr 13 20:41:38 2000
@@ -221,7 +221,7 @@ register char *lang;
#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");