Bug #4108
closedirb hangs on Windows with trunk
Description
=begin
Due to r29980, irb hangs. please revert r29980.
C:\work>irb
irb(main):001:0> a = 1
=end
Updated by usa (Usaku NAKAMURA) almost 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r30017.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Updated by phasis68 (Heesob Park) almost 14 years ago
=begin
2010/12/2 Usaku NAKAMURA redmine@ruby-lang.org:
Issue #4108 has been updated by Usaku NAKAMURA.
Status changed from Open to Closed
% Done changed from 0 to 100This issue was solved with changeset r30017.
After applying r30017 and r30018, irb is not working well with
multibyte strings.
On the trunk version,
C:\work>irb
irb(main):001:0> a = "한글"
=> "풉"
irb(main):002:0> a = 1
=> nil
=> nil
=> 1
irb(main):003:0> a = "가나다"
SyntaxError: (irb):3: invalid multibyte char (CP949)
(irb):3: unterminated string meets end of file
from c:/usr/bin/irb.bat:20:in `'
On ruby 1.9.2,
irb(main):001:0> a = "한글"
=> "한글"
irb(main):002:0> a = 1
=> 1
irb(main):003:0> a = "가나다"
=> "가나다"
irb(main):004:0>
=end
Updated by usa (Usaku NAKAMURA) almost 14 years ago
=begin
Hello,
In message "[ruby-core:33513] Re: [Ruby 1.9-Bug#4108][Closed] irb hangs on Windows with trunk"
on Dec.02,2010 15:19:29, phasis@gmail.com wrote:
After applying r30017 and r30018, irb is not working well with
multibyte strings.
I expect that this is fixed at r30019.
BTW, I hear that irb still be in stuck when using readline.
Tarui-san is debugging the problem.
And, the original problem (#4097) is not completely resolved
yet.
The possibility of the buffer overflow and the data disappearance
still remains.
Sorry for the inconvinience.
Please teach us when you find another problem like this.
Regards,¶
U.Nakamura usa@garbagecollect.jp
=end