From: Erik Naggum Date: Wed, 21 Feb 1996 01:45:21 +0000 (+0000) Subject: (Faccept_process_output): Accept sub-second timeouts. X-Git-Tag: emacs-19.34~1255 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ada9a4fdf9936f50e38200a1a945d3e82f313e3e;p=emacs.git (Faccept_process_output): Accept sub-second timeouts. --- diff --git a/src/process.c b/src/process.c index 83188534796..443da073337 100644 --- a/src/process.c +++ b/src/process.c @@ -1917,7 +1917,7 @@ Return non-nil iff we received any output before the timeout expired.") { CHECK_NUMBER (timeout, 1); seconds = XINT (timeout); - if (seconds <= 0) + if (seconds < 0 || (seconds == 0 && useconds == 0)) seconds = -1; } else