[#60404] is RB_GC_GUARD needed in rb_io_syswrite? — Eric Wong <normalperson@...>
I haven't gotten it to crash as-is, but it seems like we need to
4 messages
2014/02/01
[#60682] volatile usages — Eric Wong <normalperson@...>
Hi all, I went ahead and removed some use of volatile which were once
5 messages
2014/02/13
[#60794] [RFC] rearrange+pack vtm and time_object structs — Eric Wong <normalperson@...>
Extracted from addendum on top of Feature #9362 (cache-aligned objects).
4 messages
2014/02/16
[#61139] [ruby-trunk - Feature #9577] [Open] [PATCH] benchmark/driver.rb: align columns in text output — normalperson@...
Issue #9577 has been reported by Eric Wong.
3 messages
2014/02/28
[ruby-core:61130] [Backport21 - Backport #9575] Step with 0 step is buggy
From:
ruby-core@...
Date:
2014-02-28 02:11:46 UTC
List:
ruby-core #61130
Issue #9575 has been updated by Marc-Andre Lafortune.
Tracker changed from Bug to Backport
Project changed from ruby-trunk to Backport21
Category deleted (core)
Assignee changed from Marc-Andre Lafortune to Yui NARUSE
Target version deleted (current: 2.2.0)
You'll have to backport r45206 -> r45208 in addition to r45209.
----------------------------------------
Backport #9575: Step with 0 step is buggy
https://bugs.ruby-lang.org/issues/9575#change-45511
* Author: Marc-Andre Lafortune
* Status: Open
* Priority: Normal
* Assignee: Yui NARUSE
----------------------------------------
I didn't realize that we now allow stepping with a '0' step. It should probably have been mentioned in the NEWS of 2.1.0?
Anyways, couple of bugs with that new feature:
bn = 1 << 100
bn.step(by: 0, to: bn).first(2) # => [bn, bn] ok
bn.step(by: 0).first(2) # => [bn.to_f, bn.to_f] not ok
bn.step(by: 0, to: 0).first(2) # => [] not ok
The corresponding `size` don't all work either:
bn.step(by: 0) # => Float::INFINITY, ok
bn.step(by: 0, to: bn).size # => ZeroDivisionError: divided by 0, should be infinity
bn.step(by: 0, to: 0).size # => same
1.step(by:0, to: 42).size # => same
My patch is almost finished.
--
http://bugs.ruby-lang.org/