* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
701bfa0fed
commit
fe0194e25e
@ -1,3 +1,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.
|
||||
|
||||
Sun Dec 27 20:00:31 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||
|
||||
* enc/x_emoji.h: fix dead-link.
|
||||
|
@ -2967,6 +2967,11 @@ save_env(struct rb_execarg *sargp)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#undef chdir
|
||||
#define chdir(p) rb_w32_uchdir(p)
|
||||
#endif
|
||||
|
||||
/* This function should be async-signal-safe when sargp is NULL. Hopefully it is. */
|
||||
int
|
||||
rb_execarg_run_options(const struct rb_execarg *eargp, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen)
|
||||
|
Loading…
x
Reference in New Issue
Block a user