1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

eban's exec patch for cygwin32

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@60 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 1998-01-29 09:48:13 +00:00
parent 3bc618e841
commit d1a8766f80
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Jan 29 18:36:25 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
* process.c (rb_proc_exec): check `sh' to be exist.
Thu Jan 29 14:18:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
* class.c (mod_ancestors): should not include singleton classes.

View file

@ -361,7 +361,7 @@ rb_proc_exec(str)
if (state != -1)
exit(state);
#else
#if defined(__human68k__)
#if defined(__human68k__) || defined(__CYGWIN32__)
char *shell = dln_find_exe("sh", 0);
int state = -1;
before_exec();