diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-18 23:48:27 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-18 23:48:27 +0000 |
commit | ab0eb272f9e73123211574081aa8a0943678d80d (patch) | |
tree | 5fd6a149c40d1ffd25eb2531beb30fa17566a6d8 /ChangeLog | |
parent | aa883f84da4f3e4e82ecf2feaddca31d015f590e (diff) | |
download | ruby-ab0eb272f9e73123211574081aa8a0943678d80d.tar.gz |
* io.c (io_readpartial): Document the output buffer parameter is
overwritten with the read contents even when non-empty.
Patch by yu nobuoka. [ruby-trunk - Bug #6285]
* io.c (io_read_nonblock): ditto.
* io.c (io_read): ditto.
* io.c (rb_io_sysread): ditto.
* io.c (argf_read): ditto.
* io.c (argf_readpartial): ditto.
* ext/stringio/stringio.c (strio_read): ditto.
* test/ruby/test_argf.rb (class TestArgf): Add test for existing
behavior of read outbuf.
* test/ruby/test_io.rb (class TestIO): ditto.
* test/stringio/test_stringio.rb (class TestStringIO): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,19 @@ +Thu Apr 19 08:47:54 2012 Eric Hodel <drbrain@segment7.net> + + * io.c (io_readpartial): Document the output buffer parameter is + overwritten with the read contents even when non-empty. + Patch by yu nobuoka. [ruby-trunk - Bug #6285] + * io.c (io_read_nonblock): ditto. + * io.c (io_read): ditto. + * io.c (rb_io_sysread): ditto. + * io.c (argf_read): ditto. + * io.c (argf_readpartial): ditto. + * ext/stringio/stringio.c (strio_read): ditto. + * test/ruby/test_argf.rb (class TestArgf): Add test for existing + behavior of read outbuf. + * test/ruby/test_io.rb (class TestIO): ditto. + * test/stringio/test_stringio.rb (class TestStringIO): ditto. + Wed Apr 18 22:58:55 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (DOT, DOXYGEN): use AC_CHECK_PROGS instead of |