diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-31 18:05:03 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-31 18:05:03 +0000 |
commit | 9b8aca6ae56e7b164c919e11adb3c035375a794e (patch) | |
tree | 975eb9ce6e3b2f4fb11557c8563e2a7fb9e5f6eb /math.c | |
parent | 8ce4a284e438bf1b5a652a7d27db84f24fb742ff (diff) | |
download | ruby-9b8aca6ae56e7b164c919e11adb3c035375a794e.tar.gz |
* ruby.c (load_file_internal): convert the encoding of load path if
needed by platform. calling open() was replaced by rb_cloexec_open()
at r33549, but the function expected UTF-8 pathname on Windows.
(open() expected "locale" pathname.)
reported by taco via IRC.
* ruby.c (load_file): change the type of the 2nd parameter to pass its
encoding to load_file_internal().
* ruby.c (process_options, rb_load_file): follow above change.
NOTE: we should pass encoding information to rb_load_file().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
0 files changed, 0 insertions, 0 deletions