HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9155ea
)
(Fprocess_send_eof): Make sure proc is running.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 17 Mar 1993 07:59:09 +0000
(07:59 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 17 Mar 1993 07:59:09 +0000
(07:59 +0000)
src/process.c
patch
|
blob
|
blame
|
history
diff --git
a/src/process.c
b/src/process.c
index
31613f3
..
a3e1041
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-2568,6
+2568,13
@@
nil, indicating the current buffer's process.")
Lisp_Object proc;
proc = get_process (process);
+
+ /* Make sure the process is really alive. */
+ if (! NILP (XPROCESS (proc)->raw_status_low))
+ update_status (XPROCESS (proc));
+ if (! EQ (XPROCESS (proc)->status, Qrun))
+ error ("Process %s not running", procname);
+
/* Sending a zero-length record is supposed to mean eof
when TIOCREMOTE is turned on. */
#ifdef DID_REMOTE