mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 10 additions and 0 deletions
|
@ -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>
|
Sun Dec 27 20:00:31 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
* enc/x_emoji.h: fix dead-link.
|
* enc/x_emoji.h: fix dead-link.
|
||||||
|
|
|
@ -2967,6 +2967,11 @@ save_env(struct rb_execarg *sargp)
|
||||||
}
|
}
|
||||||
#endif
|
#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. */
|
/* This function should be async-signal-safe when sargp is NULL. Hopefully it is. */
|
||||||
int
|
int
|
||||||
rb_execarg_run_options(const struct rb_execarg *eargp, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen)
|
rb_execarg_run_options(const struct rb_execarg *eargp, struct rb_execarg *sargp, char *errmsg, size_t errmsg_buflen)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue