mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (rb_execarg_addopt): need to convert to ospath.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fe0194e25e
commit
956100bc2e
2 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,8 @@ 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.
|
||||
|
||||
Sun Dec 27 20:00:31 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||
|
||||
* enc/x_emoji.h: fix dead-link.
|
||||
|
|
|
@ -1713,6 +1713,7 @@ rb_execarg_addopt(VALUE execarg_obj, VALUE key, VALUE val)
|
|||
rb_raise(rb_eArgError, "chdir option specified twice");
|
||||
}
|
||||
FilePathValue(val);
|
||||
val = rb_str_encode_ospath(val);
|
||||
eargp->chdir_given = 1;
|
||||
eargp->chdir_dir = hide_obj(EXPORT_DUP(val));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue