diff options
| author | Richard M. Stallman | 1994-09-24 00:15:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-24 00:15:23 +0000 |
| commit | 16d71e8b20eb96ff69852164d7c8e8432027eafb (patch) | |
| tree | 9cbc921cbcfa643dc95fbe9b0102d3e4ce9a8724 /src | |
| parent | 2289f3f4df60bc58c2a9a919ea4a73019cfa8164 (diff) | |
| download | emacs-16d71e8b20eb96ff69852164d7c8e8432027eafb.tar.gz emacs-16d71e8b20eb96ff69852164d7c8e8432027eafb.zip | |
(Fprocess_send_eof): Delete DID_REMOTE conditional.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 9 |
1 files changed, 0 insertions, 9 deletions
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.") | |||
| 2911 | if (! EQ (XPROCESS (proc)->status, Qrun)) | 2911 | if (! EQ (XPROCESS (proc)->status, Qrun)) |
| 2912 | error ("Process %s not running", XSTRING (XPROCESS (proc)->name)->data); | 2912 | error ("Process %s not running", XSTRING (XPROCESS (proc)->name)->data); |
| 2913 | 2913 | ||
| 2914 | /* Sending a zero-length record is supposed to mean eof | ||
| 2915 | when TIOCREMOTE is turned on. */ | ||
| 2916 | #ifdef DID_REMOTE | ||
| 2917 | { | ||
| 2918 | char buf[1]; | ||
| 2919 | write (XINT (XPROCESS (proc)->outfd), buf, 0); | ||
| 2920 | } | ||
| 2921 | #else /* did not do TOICREMOTE */ | ||
| 2922 | #ifdef VMS | 2914 | #ifdef VMS |
| 2923 | send_process (proc, "\032", 1, Qnil); /* ^z */ | 2915 | send_process (proc, "\032", 1, Qnil); /* ^z */ |
| 2924 | #else | 2916 | #else |
| @@ -2930,7 +2922,6 @@ text to PROCESS after you call this function.") | |||
| 2930 | XSET (XPROCESS (proc)->outfd, Lisp_Int, open (NULL_DEVICE, O_WRONLY)); | 2922 | XSET (XPROCESS (proc)->outfd, Lisp_Int, open (NULL_DEVICE, O_WRONLY)); |
| 2931 | } | 2923 | } |
| 2932 | #endif /* VMS */ | 2924 | #endif /* VMS */ |
| 2933 | #endif /* did not do TOICREMOTE */ | ||
| 2934 | return process; | 2925 | return process; |
| 2935 | } | 2926 | } |
| 2936 | 2927 | ||