$OpenBSD: patch-test_ruby_test_io_rb,v 1.2 2016/11/19 04:56:00 jeremy Exp $

Work around pthread fifo fdlock bug.

--- test/ruby/test_io.rb.orig	Fri Nov  4 20:01:30 2016
+++ test/ruby/test_io.rb	Tue Nov 15 07:42:22 2016
@@ -3249,7 +3249,7 @@ End
       File.mkfifo("fifo")
       assert_separately([], <<-'EOS')
         t1 = Thread.new {
-          open("fifo", "r") {|r|
+          open("fifo", "r+") {|r|
             r.read
           }
         }
