From fe39ce87dda92a3c9a76a70d8465da4b4e172567 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 2 Feb 2009 23:21:10 +0000 Subject: [PATCH] * test/ruby/test_readpartial.rb (make_pipe): readpartial does not work in text mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/ruby/test_readpartial.rb | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 06d171fbea..8a092da3a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 3 08:21:05 2009 Nobuyoshi Nakada + + * test/ruby/test_readpartial.rb (make_pipe): readpartial does not + work in text mode. + Tue Feb 3 08:18:26 2009 Nobuyoshi Nakada * cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too. diff --git a/test/ruby/test_readpartial.rb b/test/ruby/test_readpartial.rb index fd601e7d33..b969c38692 100644 --- a/test/ruby/test_readpartial.rb +++ b/test/ruby/test_readpartial.rb @@ -5,6 +5,8 @@ require 'fcntl' class TestReadPartial < Test::Unit::TestCase def make_pipe r, w = IO.pipe + r.binmode + w.binmode begin yield r, w ensure