diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-20 03:55:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-20 03:55:29 +0000 |
commit | fc421cf6ac8728394624f206081373d04f50753c (patch) | |
tree | dfb72b705c1bbe808024737314821b34eb0b00ed /.cvsignore | |
parent | ba3a872a68618be4ab402850bccda1988955f57a (diff) | |
download | ruby-fc421cf6ac8728394624f206081373d04f50753c.tar.gz |
* io.c (pipe_open): fix typo.
* win32/win32.c (CreateChild): first argument to CreateProcess() must
have path, not just basename.
diff -U2 io.c io.c
--- io.c 20 Feb 2004 01:02:56 -0000
+++ io.c 20 Feb 2004 02:56:08 -0000
@@ -2696,5 +2697,5 @@
rb_thread_sleep(1);
break;
- defined:
+ default:
rb_sys_fail(pname);
break;
only in patch2:
--- win32/win32.c 19 Feb 2004 09:08:23 -0000 1.112
+++ win32/win32.c 20 Feb 2004 02:49:04 -0000
@@ -14,2 +14,3 @@
#include "rubysig.h"
+#include "dln.h"
#include <fcntl.h>
@@ -903,3 +904,14 @@
if (prog) {
- shell = prog;
+ char *p = dln_find_exe(prog, NULL);
+ if (!p) {
+ shell = prog;
+ }
+ else {
+ shell = p;
+ while (*p) {
+ if ((unsigned char)*p == '/')
+ *p = '\\';
+ p = CharNext(p);
+ }
+ }
}
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.cvsignore')
0 files changed, 0 insertions, 0 deletions