From fc421cf6ac8728394624f206081373d04f50753c Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 20 Feb 2004 03:55:29 +0000 Subject: * 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 @@ -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 --- ChangeLog | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 03be9f007d..78bebf3e5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,47 @@ +Fri Feb 20 12:55:27 2004 Nobuyoshi Nakada + + * 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 + @@ -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 - * 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 -- cgit v1.2.3