[Groonga-commit] groonga/grntest [master] Set pipe external encoding to ASCII-8BIT

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 8日 (水) 16:08:28 JST


Kouhei Sutou	2012-08-08 16:08:28 +0900 (Wed, 08 Aug 2012)

  New Revision: ad92df604c2a2d04f5c64592f18c727a6d3ad261
  https://github.com/groonga/grntest/commit/ad92df604c2a2d04f5c64592f18c727a6d3ad261

  Log:
    Set pipe external encoding to ASCII-8BIT

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+2 -2)
===================================================================
--- lib/groonga/tester.rb    2012-08-08 16:08:07 +0900 (68e0e43)
+++ lib/groonga/tester.rb    2012-08-08 16:08:28 +0900 (299ac54)
@@ -413,8 +413,8 @@ module Groonga
       end
 
       def open_pipe
-        IO.pipe do |input_read, input_write|
-          IO.pipe do |output_read, output_write|
+        IO.pipe("ASCII-8BIT") do |input_read, input_write|
+          IO.pipe("ASCII-8BIT") do |output_read, output_write|
             yield(input_read, input_write, output_read, output_write)
           end
         end
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
다운로드 



Groonga-commit メーリングリストの案内
Back to archive index