* io.c (io_ungetbyte): renamed from io_ungetc.
commite8ed59b33c15559bba5a75af3fc2c1c5da1d9d81
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Mon, 18 Aug 2008 14:28:45 +0000 (18 14:28 +0000)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Mon, 18 Aug 2008 14:28:45 +0000 (18 14:28 +0000)
tree973b6a8ef59603393a166b6248f1edcb93409f35
parent933789de7facd9ee78d47397deed440ab6a6eec4
* io.c (io_ungetbyte): renamed from io_ungetc.
  (rb_io_ungetbyte): new method.
  (rb_io_ungetc): push back into character buffer if enc2 is set.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ChangeLog
io.c
test/ruby/test_io_m17n.rb