diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-16 01:27:19 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-16 01:27:19 +0000 |
commit | ed2e8b2e705c30fc4343d697daff9a08ff58502c (patch) | |
tree | 4ba9d0d7b7883467add1d347886e9617cbdffafd /string.c | |
parent | e51a55903e5b113e29fff2ccd2f696a09745b57c (diff) | |
download | ruby-ed2e8b2e705c30fc4343d697daff9a08ff58502c.tar.gz |
time.c (time_timespec): fix tv_nsec overflow
test/ruby/test_float.rb (test_sleep_with_Float) causes tv_nsec
to hit 1000000000 exactly. This bug is currently hidden from
our test by the platform-dependent native_cond_timeout
functions, but a future native_cond_timedwait implementation may
prefer relative timeouts to match ConditionVariable#wait
semantics more closely.
[Bug #10144]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions