From: Richard M. Stallman Date: Sat, 24 Sep 1994 00:15:23 +0000 (+0000) Subject: (Fprocess_send_eof): Delete DID_REMOTE conditional. X-Git-Tag: emacs-19.34~6820 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=16d71e8b20eb96ff69852164d7c8e8432027eafb;p=emacs.git (Fprocess_send_eof): Delete DID_REMOTE conditional. --- diff --git a/src/process.c b/src/process.c index 04907a47031..d23ba40552b 100644 --- a/src/process.c +++ b/src/process.c @@ -2911,14 +2911,6 @@ text to PROCESS after you call this function.") 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 @@ text to PROCESS after you call this function.") XSET (XPROCESS (proc)->outfd, Lisp_Int, open (NULL_DEVICE, O_WRONLY)); } #endif /* VMS */ -#endif /* did not do TOICREMOTE */ return process; }