]> git.eshelyaron.com Git - emacs.git/commitdiff
(Faccept_process_output): Accept sub-second timeouts.
authorErik Naggum <erik@naggum.no>
Wed, 21 Feb 1996 01:45:21 +0000 (01:45 +0000)
committerErik Naggum <erik@naggum.no>
Wed, 21 Feb 1996 01:45:21 +0000 (01:45 +0000)
src/process.c

index 831885347967c3424f5b10cfd0292d6511d57220..443da0733378961d375332e985ef8279d5457587 100644 (file)
@@ -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