diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-01-19 05:37:15 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-01-19 05:37:15 +0000 |
commit | 0205517a8c8ea0524350917206ec41c3bdbf6579 (patch) | |
tree | 7d71340bb1ae6b12a41eb7c317b2a15a4654f399 /io.c | |
parent | adc7c78fa2f16d96bf5cfc42b32174953db6d08a (diff) |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@26 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |