changeset 9034:d6d1afc8685f

(Fprocess_send_eof): Delete DID_REMOTE conditional.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Sep 1994 00:15:23 +0000
parents 3c36c72db2bb
children 71eb1cc4e516
files src/process.c
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Sat Sep 24 00:12:06 1994 +0000
+++ b/src/process.c	Sat Sep 24 00:15:23 1994 +0000
@@ -2911,14 +2911,6 @@
   if (! EQ (XPROCESS (proc)->status, Qrun))
     error ("Process %s not running", XSTRING (XPROCESS (proc)->name)->data);
 
-  /* Sending a zero-length record is supposed to mean eof
-     when TIOCREMOTE is turned on.  */
-#ifdef DID_REMOTE
-  {
-    char buf[1];
-    write (XINT (XPROCESS (proc)->outfd), buf, 0);
-  }
-#else /* did not do TOICREMOTE */
 #ifdef VMS
   send_process (proc, "\032", 1, Qnil); 	/* ^z */
 #else
@@ -2930,7 +2922,6 @@
       XSET (XPROCESS (proc)->outfd, Lisp_Int, open (NULL_DEVICE, O_WRONLY));
     }
 #endif /* VMS */
-#endif /* did not do TOICREMOTE */
   return process;
 }