projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fe9cb0
)
fix sleep on most ratios
author
Christophe Rhodes
<csr21@cantab.net>
Mon, 3 Jun 2013 08:49:49 +0000
(09:49 +0100)
committer
Christophe Rhodes
<csr21@cantab.net>
Mon, 3 Jun 2013 08:49:49 +0000
(09:49 +0100)
really really ensure that the second argument to nanosleep is an
integer
src/code/toplevel.lisp
patch
|
blob
|
history
diff --git
a/src/code/toplevel.lisp
b/src/code/toplevel.lisp
index
97199db
..
1c00f03
100644
(file)
--- a/
src/code/toplevel.lisp
+++ b/
src/code/toplevel.lisp
@@
-181,7
+181,7
@@
means to wait indefinitely.")
(multiple-value-bind (quot rem) (truncate (numerator seconds)
(denominator seconds))
(values quot
- (* rem (/ 1000000000 (denominator seconds))))))
+ (truncate (* rem (/ 1000000000 (denominator seconds)))))))
(t
(multiple-value-bind (sec frac)
(truncate seconds)