From: "NAKAMURA, Hiroshi" Date: 2010-04-28T22:53:01+09:00 Subject: [ruby-core:29848] Re: [Bug #2449] StringIO#ungetc behavior is contrary to its spec Hi, On Wed, Apr 28, 2010 at 21:34, Yusuke Endoh wrote: >> Do you mean this IO change (multiple pushbacks and behind the >> beginning) should be backported to 1.8? > > I move this ticket to 1.8. > But it may be difficult for 1.8 that uses C's stdio to implement IO. Yes. So I think that the following is not correct. | There is no | limitation for multiple pushbacks including pushing back behind the | beginning of the buffer string. No one seem to have a correct answer. Let's accept RubySpec's test assertion for 1.8. Regards, // NaHi