From ada9a4fdf9936f50e38200a1a945d3e82f313e3e Mon Sep 17 00:00:00 2001 From: Erik Naggum Date: Wed, 21 Feb 1996 01:45:21 +0000 Subject: [PATCH] (Faccept_process_output): Accept sub-second timeouts. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2