1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2000-07-10 06:47:04 +00:00
parent 11930ca8ea
commit df803a57a9

3
io.c
View file

@ -1484,6 +1484,9 @@ pipe_finalize(fptr)
status = pclose(fptr->f2); status = pclose(fptr->f2);
} }
fptr->f = fptr->f2 = 0; fptr->f = fptr->f2 = 0;
#if defined DJGPP || (defined NT && !defined __BORLANDC__)
status <<= 8;
#endif
rb_last_status = INT2FIX(status); rb_last_status = INT2FIX(status);
#else #else
fptr_finalize(fptr); fptr_finalize(fptr);