From 0748d150ecff495c4abda3d24e5b814eeb77ee70 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 8 Apr 1999 16:50:04 +0000 Subject: [PATCH] (Faccept_process_output): Check validity of PROCESS. --- src/process.c | 3 +++ 1 file changed, 3 insertions(+) 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.") int seconds; int useconds; + if (! NILP (process)) + CHECK_PROCESS (process, 0); + if (! NILP (timeout_msecs)) { CHECK_NUMBER (timeout_msecs, 2); -- 2.39.2