summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-17 14:23:09 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-17 14:23:09 +0000
commit2171d75e9bd14409d62fcc5a8acdbb2ec1c23060 (patch)
tree49586b921848ebb613561e0ec6b5f2362cb861e7 /util.c
parent2368dbdfa3c438b614a4727bde7cacac2d0a87a9 (diff)
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions