mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-28 19:42:02 +00:00
(Fsleep_for): Accept sub-second intervals.
This commit is contained in:
parent
f3253b8f05
commit
6b5153b18a
@ -2308,7 +2308,7 @@ Emacs was built without floating point support.\n\
|
||||
else
|
||||
sec += usec / 1000000, usec %= 1000000;
|
||||
|
||||
if (sec <= 0)
|
||||
if (sec < 0 || (sec == 0 && usec == 0))
|
||||
return Qnil;
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user