mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@26 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
adc7c78fa2
commit
0205517a8c
1 changed files with 1 additions and 1 deletions
2
io.c
2
io.c
|
@ -1001,7 +1001,7 @@ pipe_open(pname, mode)
|
|||
break;
|
||||
|
||||
default: /* parent */
|
||||
if (pid > 0) rb_sys_fail(0);
|
||||
if (pid < 0) rb_sys_fail(pname);
|
||||
else {
|
||||
NEWOBJ(port, struct RFile);
|
||||
OBJSETUP(port, cIO, T_FILE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue