summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-29 09:48:13 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-29 09:48:13 +0000
commitd1a8766f801ccbb11126413d1fa4f9bea19b00ba (patch)
tree81717241181cffc13c4e4f8f9858a8aee89c28ea
parent3bc618e841594c584c915e6986f15ae5456e5914 (diff)
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
-rw-r--r--ChangeLog4
-rw-r--r--process.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ebf2df..5286843 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/process.c b/process.c
index 5a7ce36..314d3ea 100644
--- a/process.c
+++ b/process.c
@@ -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();