diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-27 13:38:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-27 13:38:56 +0000 |
commit | 9909c67583b2a538e23097759eb6be22a98ff044 (patch) | |
tree | b1f981c36d4573094312de1d931edac9551e779c | |
parent | faaf8ea8af1fc052a3234e7df7bee9cf156fdf86 (diff) | |
download | ruby-9909c67583b2a538e23097759eb6be22a98ff044.tar.gz |
* io.c (fill_cbuf): finish reading at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Fri May 27 22:38:54 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * io.c (fill_cbuf): finish reading at EOF. + Fri May 27 11:31:51 2011 misfo <tedwardo2@gmail.com> * lib/rexml/text.rb (REXML::Text#initialize): prevent an error @@ -1715,6 +1715,7 @@ fill_cbuf(rb_io_t *fptr, int ec_flags) res = rb_econv_convert(fptr->readconv, NULL, NULL, &dp, de, 0); fptr->cbuf.len += (int)(dp - ds); rb_econv_check_error(fptr->readconv); + break; } } } |