$OpenBSD: patch-test_ruby_test_io_rb,v 1.2 2017/09/16 22:42:37 jeremy Exp $

Work around pthread fifo fdlock bug.

Index: test/ruby/test_io.rb
--- test/ruby/test_io.rb.orig
+++ test/ruby/test_io.rb
@@ -3498,7 +3498,7 @@ __END__
       File.mkfifo("fifo")
       assert_separately([], <<-'EOS')
         t1 = Thread.new {
-          open("fifo", "r") {|r|
+          open("fifo", "r+") {|r|
             r.read
           }
         }
