[ruby-cvs:66742] nobu:r59564 (trunk): ruby.c: ignore non-option in shebang line

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Aug 10 14:54:56 JST 2017


nobu	2017-08-10 14:54:56 +0900 (Thu, 10 Aug 2017)

  New Revision: 59564

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

  Log:
    ruby.c: ignore non-option in shebang line
    
    * ruby.c (moreswitches): process all words as options only in
      an environment variable, but not in a shebang line.
      [ruby-core:82267] [Bug #13786]

  Modified files:
    trunk/ruby.c
    trunk/test/ruby/test_rubyoptions.rb


More information about the ruby-cvs mailing list