ruby-changes:41276
From: usa <ko1@a...>
Date: Sun, 27 Dec 2015 21:15:25 +0900 (JST)
Subject: [ruby-changes:41276] usa:r53348 (trunk): * process.c (rb_execarg_parent_start1): need to convert the encoding to
usa 2015-12-27 21:15:20 +0900 (Sun, 27 Dec 2015) New Revision: 53348 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53348 Log: * process.c (rb_execarg_parent_start1): need to convert the encoding to ospath's one. Modified files: trunk/ChangeLog trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 53347) +++ ChangeLog (revision 53348) @@ -1,9 +1,15 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Dec 27 21:14:42 2015 NAKAMURA Usaku <usa@r...> + + * 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@r...> * 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@r...> Index: process.c =================================================================== --- process.c (revision 53347) +++ process.c (revision 53348) @@ -2314,6 +2314,7 @@ rb_execarg_parent_start1(VALUE execarg_o https://github.com/ruby/ruby/blob/trunk/process.c#L2314 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; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/