diff options
author | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-08 12:01:05 +0000 |
---|---|---|
committer | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-08 12:01:05 +0000 |
commit | 7e134cf71e2535b562cd2d81e3ff69cbe49d0ce0 (patch) | |
tree | 651e1602aa125a6935ef8790472954a6da525438 /ChangeLog | |
parent | c45d780b830dba93d67fd49bccafc401b3805bcb (diff) |
* io.c (io_unread): fix IO#pos with mode 'r' bug on Windows.
If the end of reading buffer is CR, io_unread() needs to unread one
more byte.
[ruby-core:44874] [Bug #6401]
* test/ruby/test_io_m17n.rb (TestIO_M17N#test_pos_with_buffer_end_cr):
add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Tue May 8 20:44:46 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com> + + * io.c (io_unread): fix IO#pos with mode 'r' bug on Windows. + If the end of reading buffer is CR, io_unread() needs to unread one + more byte. + [ruby-core:44874] [Bug #6401] + + * test/ruby/test_io_m17n.rb (TestIO_M17N#test_pos_with_buffer_end_cr): + add a test for above. + Tue May 8 13:38:17 2012 Ayumu AIZAWA <ayumu.aizawa@gmail.com> * ext/date/date_core.c: improving introduction in Date/DateTime |