93e1bb707d
gnuserv allows you to attach to an already running Emacs. This allows external programs to make use of Emacs' editing capabilities. It is like GNU Emacs' emacsserver/server.el, but has many more features. This is the gnuserv part of XEmacs split out for use in GNU Emacs. If you use XEmacs you do not need this package.
13 lines
436 B
Text
13 lines
436 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2003/06/08 05:46:34 epg Exp $
|
|
|
|
--- gnuserv.c.orig Fri Sep 13 07:19:16 2002
|
|
+++ gnuserv.c
|
|
@@ -793,7 +793,7 @@ unix_init (void)
|
|
+ strlen (server.sun_path) + 1);
|
|
server.sun_len = bindlen;
|
|
#else
|
|
- bindlen = strlen (server.sun_path) + sizeof (server.sun_family);
|
|
+ bindlen = strlen (server.sun_path) + 1 + sizeof (server.sun_family);
|
|
#endif
|
|
|
|
if (bind(ls,(struct sockaddr *)&server,bindlen) < 0)
|