mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
41cae1744f
commit
db0ebb32c9
1 changed files with 1 additions and 1 deletions
2
io.c
2
io.c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue