summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-17 04:38:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-17 04:38:19 +0000
commit133ff3421a9867ec49a23df97aba3db63fc78755 (patch)
tree881e313831cafec35bfc80a3b2f15f1b98426853 /io.c
parent1fc61ca55fd736dbe63c37abde8239601ce3b2aa (diff)
2000-05-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/io.c b/io.c
index 2ffb1746759..405aa7d2d2f 100644
--- a/io.c
+++ b/io.c
@@ -1527,6 +1527,8 @@ pipe_open(pname, mode)
ruby_sourcefile, ruby_sourceline, pname);
_exit(127);
}
+ rb_io_synchronized(RFILE(orig_stdout)->fptr);
+ rb_io_synchronized(RFILE(orig_stderr)->fptr);
return Qnil;
case -1: /* fork failed */