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 | |
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
-rw-r--r-- | ChangeLog | 43 |
1 files changed, 42 insertions, 1 deletions
@@ -1,6 +1,47 @@ +Fri Feb 20 12:55:27 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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); + + } + + } + } + Thu Feb 19 23:24:16 2004 Dave Thomas <dave@pragprog.com> - * lib/rdoc/generators/html_generator.rb (Generators::HtmlClass::build_attribute_list): + * lib/rdoc/generators/html_generator.rb (Generators::HtmlClass::build_attribute_list): Support visibility modifiers for attributes Thu Feb 19 22:39:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au> |