diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 12:15:20 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 12:15:20 +0000 |
commit | 46e461212ab17c1befd9362f4e1f0527296c17e0 (patch) | |
tree | ef69e0312847822726414e7ff72fcdd04ad53fb7 | |
parent | ce0d351a49f40a2c405ef12bfd8f8e216fcea733 (diff) | |
download | ruby-46e461212ab17c1befd9362f4e1f0527296c17e0.tar.gz |
* process.c (rb_execarg_parent_start1): need to convert the encoding to
ospath's one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | process.c | 1 |
2 files changed, 8 insertions, 1 deletions
@@ -1,9 +1,15 @@ +Sun Dec 27 21:14:42 2015 NAKAMURA Usaku <usa@ruby-lang.org> + + * process.c (rb_execarg_parent_start1): need to convert the encoding to + ospath's one. + Sun Dec 27 20:54:22 2015 NAKAMURA Usaku <usa@ruby-lang.org> * process.c: use rb_w32_uchdir() instead of plain chdir() on Windows. reported by naruse via twitter. - * process.c (rb_execarg_addopt): need to convert to ospath. + * process.c (rb_execarg_addopt): need to convert the encoding to + ospath's one. Sun Dec 27 20:00:31 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org> @@ -2314,6 +2314,7 @@ rb_execarg_parent_start1(VALUE execarg_obj) if (NIL_P(fd2v)) { struct open_struct open_data; FilePathValue(vpath); + vpath = rb_str_encode_ospath(vpath); again: open_data.fname = vpath; open_data.oflags = flags; |