From: Richard M. Stallman Date: Thu, 8 Apr 1999 16:50:04 +0000 (+0000) Subject: (Faccept_process_output): Check validity of PROCESS. X-Git-Tag: emacs-20.4~351 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0748d150ecff495c4abda3d24e5b814eeb77ee70;p=emacs.git (Faccept_process_output): Check validity of PROCESS. --- 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);