mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/win32.c: revert r30987 because it causes some failures in
test-all, especially webrick. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6016591e1c
commit
86bb0af7ea
2 changed files with 5 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Mar 1 16:22:22 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c: revert r30987 because it causes some failures in
|
||||
test-all, especially webrick.
|
||||
|
||||
Tue Mar 1 15:59:53 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_byteslice): the resulted encoding should keep
|
||||
|
|
|
@ -851,9 +851,6 @@ is_internal_cmd(const char *cmd, int nt)
|
|||
{
|
||||
char cmdname[9], *b = cmdname, c;
|
||||
|
||||
if (strchr(cmd, '^'))
|
||||
return 1;
|
||||
|
||||
do {
|
||||
if (!(c = *cmd++)) return 0;
|
||||
} while (isspace(c));
|
||||
|
@ -1141,12 +1138,6 @@ rb_w32_spawn(int mode, const char *cmd, const char *prog)
|
|||
sprintf(tmp, "%s -c \"%s\"", shell, cmd);
|
||||
cmd = tmp;
|
||||
}
|
||||
else if ((shell = getenv("COMSPEC")) &&
|
||||
strchr(cmd, '"')) {
|
||||
char *tmp = ALLOCV(v, strlen(shell) + strlen(cmd) + sizeof(" /c "));
|
||||
sprintf(tmp, "%s /c %s", shell, cmd);
|
||||
cmd = tmp;
|
||||
}
|
||||
else if ((shell = getenv("COMSPEC")) &&
|
||||
(nt = !is_command_com(shell),
|
||||
(redir < 0 ? has_redirection(cmd) : redir) ||
|
||||
|
|
Loading…
Reference in a new issue