[ruby-cvs:69936] nagachika:r62797 (ruby_2_4): merge revision(s) 57484, 58767, 58938, 59041: [Backport #13863]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Mar 17 23:23:10 JST 2018

nagachika	2018-03-17 23:23:09 +0900 (Sat, 17 Mar 2018)

  New Revision: 62797


    merge revision(s) 57484,58767,58938,59041: [Backport #13863]
    ruby.c: forbid options
    * ruby.c (forbid_setid): constified.
    * ruby.c (process_options): forbid if setid earlier.
    ruby.c: encode script name
    * ruby.c (process_options): encode script name to locale encoding
      instead of associate, if UTF-8 path.
    ruby.c: file in load_file argument
    * ruby.c (load_file): move opened file to an argument, to reduce
      open/close calls in the near future.
    ruby.c: script name in UTF-8
    * ruby.c (process_options): keep script name in UTF-8 if UTF8_PATH
      to get rid of loss by conversion.

  Modified directories:
  Modified files:

More information about the ruby-cvs mailing list