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

ruby-changes:28169

From: naruse <ko1@a...>
Date: Thu, 11 Apr 2013 06:59:23 +0900 (JST)
Subject: [ruby-changes:28169] naruse:r40221 (trunk): Explictly flush stdio

naruse	2013-04-11 06:59:13 +0900 (Thu, 11 Apr 2013)

  New Revision: 40221

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

  Log:
    Explictly flush stdio

  Modified files:
    trunk/test/test_curses.rb

Index: test/test_curses.rb
===================================================================
--- test/test_curses.rb	(revision 40220)
+++ test/test_curses.rb	(revision 40221)
@@ -29,6 +29,7 @@ ensure https://github.com/ruby/ruby/blob/trunk/test/test_curses.rb#L29
   close_screen
   puts "", [Marshal.dump([result, e])].pack('m').delete("\n")
   print "\\0"
+  $stdio.flush
 end
 src
       if input

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

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