[MacRuby] #953: StringIO#dup is broken.
MacRuby
ruby-noreply at macosforge.org
Wed Oct 13 15:23:05 PDT 2010
#953: StringIO#dup is broken.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by lsansonetti@…):
I looked at this problem and it will be hard to fix it with the current
stringio (pure Ruby) implementation.
StringIO#dup returns a new object which points to the same StringIO
"state" (string, position, and so on).
If our stringio is rewritten in C, it will be easier to share the same as
a common structure.
--
Ticket URL: <http://www.macruby.org/trac/ticket/953#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list