[ruby-cvs:50625] usa:r43482 (ruby_1_9_3): merge revision(s) 43112, 43114, 43117, 43118: [Backport #8980]

usa at ruby-lang.org usa at ruby-lang.org
Thu Oct 31 23:03:23 JST 2013


usa	2013-10-31 23:03:20 +0900 (Thu, 31 Oct 2013)

  New Revision: 43482

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43482

  Log:
    merge revision(s) 43112,43114,43117,43118: [Backport #8980]
    
    * io.c (rb_io_close_read): keep fptr in write_io to be discarded, to
      fix freed pointer access when it is in use by other threads, and get
      rid of potential memory/fd leak.
    
    * io.c (rb_io_close_write): detach tied IO for writing before closing
      to get rid of race condition.  [ruby-list:49598]
    
    * io.c (rb_io_close_read): duplex IO should wait its child process
      even after close_read.

  Modified directories:
    branches/ruby_1_9_3/
  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/io.c
    branches/ruby_1_9_3/test/ruby/test_io.rb
    branches/ruby_1_9_3/version.h


More information about the ruby-cvs mailing list