[前][次][番号順一覧][スレッド一覧]

ruby-changes:10440

From: nobu <ko1@a...>
Date: Tue, 3 Feb 2009 08:21:21 +0900 (JST)
Subject: [ruby-changes:10440] Ruby:r21990 (trunk): * test/ruby/test_readpartial.rb (make_pipe): readpartial does not

nobu	2009-02-03 08:21:10 +0900 (Tue, 03 Feb 2009)

  New Revision: 21990

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21990

  Log:
    * test/ruby/test_readpartial.rb (make_pipe): readpartial does not
      work in text mode.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_readpartial.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21989)
+++ ChangeLog	(revision 21990)
@@ -1,3 +1,8 @@
+Tue Feb  3 08:21:05 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* test/ruby/test_readpartial.rb (make_pipe): readpartial does not
+	  work in text mode.
+
 Tue Feb  3 08:18:26 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too.
Index: test/ruby/test_readpartial.rb
===================================================================
--- test/ruby/test_readpartial.rb	(revision 21989)
+++ test/ruby/test_readpartial.rb	(revision 21990)
@@ -5,6 +5,8 @@
 class TestReadPartial < Test::Unit::TestCase
   def make_pipe
     r, w = IO.pipe
+    r.binmode
+    w.binmode
     begin
       yield r, w
     ensure

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]