mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
11930ca8ea
commit
df803a57a9
1 changed files with 3 additions and 0 deletions
3
io.c
3
io.c
|
@ -1484,6 +1484,9 @@ pipe_finalize(fptr)
|
|||
status = pclose(fptr->f2);
|
||||
}
|
||||
fptr->f = fptr->f2 = 0;
|
||||
#if defined DJGPP || (defined NT && !defined __BORLANDC__)
|
||||
status <<= 8;
|
||||
#endif
|
||||
rb_last_status = INT2FIX(status);
|
||||
#else
|
||||
fptr_finalize(fptr);
|
||||
|
|
Loading…
Reference in a new issue