1
0
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:
Erik Naggum 1996-02-22 05:50:00 +00:00
parent f3253b8f05
commit 6b5153b18a

View File

@ -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;
{