$OpenBSD: patch-test_ruby_test_io_rb,v 1.1.1.1 2016/01/07 00:52:46 jeremy Exp $

Work around pthread fifo fdlock bug.

--- test/ruby/test_io.rb.orig	Sat Dec 26 13:11:14 2015
+++ test/ruby/test_io.rb	Sat Dec 26 13:11:28 2015
@@ -3226,7 +3226,7 @@ End
       File.mkfifo("fifo")
       assert_separately([], <<-'EOS')
         t1 = Thread.new {
-          open("fifo", "r") {|r|
+          open("fifo", "r+") {|r|
             r.read
           }
         }
