diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-11 12:26:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-11 12:26:30 +0000 |
commit | db0ebb32c92b592ff2a9f0f0cf84d0037edbfbae (patch) | |
tree | 929d8d85c18066e4f90e184efc1a38e03f2a47ea | |
parent | 41cae1744fcc9d7dd0c6d332ab3b94eaf954d1dd (diff) | |
download | ruby-db0ebb32c92b592ff2a9f0f0cf84d0037edbfbae.tar.gz |
* io.c (pipe_finalize): status is success if no process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4833,7 +4833,7 @@ static void pipe_finalize(rb_io_t *fptr, int noraise) { #if !defined(HAVE_FORK) && !defined(_WIN32) - int status; + int status = 0; if (fptr->stdio_file) { status = pclose(fptr->stdio_file); } |