Project

General

Profile

« Previous | Next » 

Revision 12e5996d

Added by yugui (Yuki Sonoda) almost 17 years ago

merges r21492 and r21495 from trunk into ruby_1_9_1.
* io.c (rb_io_close_read): call rb_io_fptr_cleanup() instead of
fptr_finalize() because the fptr has special finalizser if it is a
pipe. [ruby-dev:37757] (3)

 * io.c (io_reopen, rb_io_init_copy): should register fptr to pipe_list when copying pipe fptr. 

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e