# HG changeset patch # User Erik Naggum <erik@naggum.no> # Date 824867121 0 # Node ID 80196bfd8b9468955a0beca3487d25d43d1a1829 # Parent ab3a6813575a08f3b03deb3b163806e385771b06 (Faccept_process_output): Accept sub-second timeouts. diff -r ab3a6813575a -r 80196bfd8b94 src/process.c --- a/src/process.c Tue Feb 20 19:21:45 1996 +0000 +++ b/src/process.c Wed Feb 21 01:45:21 1996 +0000 @@ -1917,7 +1917,7 @@ { CHECK_NUMBER (timeout, 1); seconds = XINT (timeout); - if (seconds <= 0) + if (seconds < 0 || (seconds == 0 && useconds == 0)) seconds = -1; } else