diff options
| author | Erik Naggum <erik@naggum.no> | 1996-02-21 01:45:21 +0000 |
|---|---|---|
| committer | Erik Naggum <erik@naggum.no> | 1996-02-21 01:45:21 +0000 |
| commit | ada9a4fdf9936f50e38200a1a945d3e82f313e3e (patch) | |
| tree | 40b9389fe940911c1e1665fd9b48f00197ea9154 /src/process.c | |
| parent | a915dc6d70636947f168d634495a1a84f28fdc6b (diff) | |
| download | emacs-ada9a4fdf9936f50e38200a1a945d3e82f313e3e.tar.gz | |
(Faccept_process_output): Accept sub-second timeouts.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
