changeset 881:dfee0026a079

[xemacs-hg @ 2002-06-25 08:09:01 by stephent] fix no-Internet gnuclient <15605.25099.148651.76763@slab.corp.buildpoint.com>
author stephent
date Tue, 25 Jun 2002 08:09:02 +0000
parents beddd25fe24a
children f503f1607e8b
files lib-src/ChangeLog lib-src/gnuclient.c
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog	Mon Jun 24 22:00:25 2002 +0000
+++ b/lib-src/ChangeLog	Tue Jun 25 08:09:02 2002 +0000
@@ -1,3 +1,9 @@
+2002-05-29  Greg Steuck  <greg-xemacs-patches@nest.cx>
+
+	* gnuclient.c: Makes it possible again to #undef
+	INTERNET_DOMAIN_SOCKETS in lib-src/gnuserv.h and get a functional
+	gnuserv which is only accessible through UNIX_DOMAIN_SOCKETS.
+
 2002-05-28  Ben Wing  <ben@xemacs.org>
 
 	* make-docfile.c (scan_c_file):
--- a/lib-src/gnuclient.c	Mon Jun 24 22:00:25 2002 +0000
+++ b/lib-src/gnuclient.c	Tue Jun 25 08:09:02 2002 +0000
@@ -465,13 +465,14 @@
 	       progname);
       exit (1);
     }
+#if defined(INTERNET_DOMAIN_SOCKETS)
   if (suppress_windows_system && hostarg)
     {
       fprintf (stderr, "%s: Remote editing is available only on X\n",
 	       progname);
       exit (1);
     }
-
+#endif
   *result = '\0';
   if (eval_function || eval_form || load_library)
     {
@@ -563,7 +564,7 @@
 	    }
       /* Don't do disconnect_from_server because we have already read
 	 data, and disconnect doesn't do anything else. */
-#ifndef INTERNET_DOMAIN_SOCKETS
+#ifdef SYSV_IPC
 	  if (connect_type == (int) CONN_IPC)
 	    disconnect_from_ipc_server (s, msgp, FALSE);
 #endif /* !SYSV_IPC */