aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1999-04-08 16:50:04 +0000
committerRichard M. Stallman1999-04-08 16:50:04 +0000
commit0748d150ecff495c4abda3d24e5b814eeb77ee70 (patch)
tree8b6c4548923d38693aa1614a82ff6abf45fe67a5 /src
parenta4bb8336f90a47a99d6c779bbef2e500edb63083 (diff)
downloademacs-0748d150ecff495c4abda3d24e5b814eeb77ee70.tar.gz
emacs-0748d150ecff495c4abda3d24e5b814eeb77ee70.zip
(Faccept_process_output): Check validity of PROCESS.
Diffstat (limited to 'src')
-rw-r--r--src/process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 7bd40ad685e..e210cd4aa2a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2157,6 +2157,9 @@ Return non-nil iff we received any output before the timeout expired.")
2157 int seconds; 2157 int seconds;
2158 int useconds; 2158 int useconds;
2159 2159
2160 if (! NILP (process))
2161 CHECK_PROCESS (process, 0);
2162
2160 if (! NILP (timeout_msecs)) 2163 if (! NILP (timeout_msecs))
2161 { 2164 {
2162 CHECK_NUMBER (timeout_msecs, 2); 2165 CHECK_NUMBER (timeout_msecs, 2);