summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-12-11 15:54:19 +0000
committerEli Zaretskii <eliz@gnu.org>2009-12-11 15:54:19 +0000
commit866aa6267ad054734a04d1cdf32379b330923a61 (patch)
treefff652d2ecdfe39edbf6c758bd47fd4a498aa9d8
parentb4cec7790faa02a04a145e793bc575dd4f06c515 (diff)
downloadgunmake-866aa6267ad054734a04d1cdf32379b330923a61.tar.gz
(construct_command_argv_internal) <sh_cmds_dos> [WINDOWS32]: Add "echo." and
a few more commands that are built into cmd.exe. Fixes Savannah bug #28126.
-rw-r--r--job.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/job.c b/job.c
index a0e4d55..1db7217 100644
--- a/job.c
+++ b/job.c
@@ -2301,12 +2301,15 @@ construct_command_argv_internal (char *line, char **restp, char *shell,
0 };
#elif defined (WINDOWS32)
static char sh_chars_dos[] = "\"|&<>";
- static char *sh_cmds_dos[] = { "break", "call", "cd", "chcp", "chdir", "cls",
- "copy", "ctty", "date", "del", "dir", "echo",
- "erase", "exit", "for", "goto", "if", "if", "md",
- "mkdir", "path", "pause", "prompt", "rd", "rem",
- "ren", "rename", "rmdir", "set", "shift", "time",
- "type", "ver", "verify", "vol", ":", 0 };
+ static char *sh_cmds_dos[] = { "assoc", "break", "call", "cd", "chcp",
+ "chdir", "cls", "color", "copy", "ctty",
+ "date", "del", "dir", "echo", "echo.",
+ "endlocal", "erase", "exit", "for", "ftype",
+ "goto", "if", "if", "md", "mkdir", "path",
+ "pause", "prompt", "rd", "rem", "ren",
+ "rename", "rmdir", "set", "setlocal",
+ "shift", "time", "title", "type", "ver",
+ "verify", "vol", ":", 0 };
static char sh_chars_sh[] = "#;\"*?[]&|<>(){}$`^";
static char *sh_cmds_sh[] = { "cd", "eval", "exec", "exit", "login",
"logout", "set", "umask", "wait", "while", "for",