diff options
-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; |