[ruby-cvs:68498] nobu:r61317 (trunk): io.c: opening external command

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Dec 18 13:32:54 JST 2017


nobu	2017-12-18 13:32:54 +0900 (Mon, 18 Dec 2017)

  New Revision: 61317

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

  Log:
    io.c: opening external command
    
    * io.c (rb_io_open_generic): when external command will be invoked
      as other than IO singleton method, probably unintentionally,
      warn if it is File or raise ArgumentError.
    
    From: Nobuyoshi Nakada <nobu at ruby-lang.org>

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


More information about the ruby-cvs mailing list