[ruby-cvs:53371] akr:r46225 (trunk): * io.c (rb_io_s_pipe): Close pipes if io_encoding_set() raises an

akr at ruby-lang.org akr at ruby-lang.org
Thu May 29 20:29:48 JST 2014


akr	2014-05-29 20:29:47 +0900 (Thu, 29 May 2014)

  New Revision: 46225

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

  Log:
    * io.c (rb_io_s_pipe): Close pipes if io_encoding_set() raises an
      exception.
      (io_encoding_set_v): New function.

  Modified files:
    trunk/ChangeLog
    trunk/io.c
    trunk/test/ruby/test_io.rb
    trunk/test/ruby/test_io_m17n.rb


More information about the ruby-cvs mailing list