]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* src/job.c (sh_cmds): [SV 57625] Update builtin shell command list
authorPaul Smith <psmith@gnu.org>
Sat, 18 Jan 2020 15:14:35 +0000 (10:14 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 19 Jan 2020 22:04:52 +0000 (17:04 -0500)
src/job.c

index 5368f51e3973278c414e9d3e50c5b162533c6bee..ae1f18b9b8a3f2729e5033d859baa5b1e394a16e 100644 (file)
--- a/src/job.c
+++ b/src/job.c
@@ -2785,9 +2785,10 @@ construct_command_argv_internal (char *line, char **restp, const char *shell,
 #else  /* must be UNIX-ish */
   static const char *sh_chars = "#;\"*?[]&|<>(){}$`^~!";
   static const char *sh_cmds[] =
-    { ".", ":", "break", "case", "cd", "command", "continue", "eval", "exec",
-      "exit", "export", "for", "if", "login", "logout", "read", "readonly",
-      "set", "shift", "switch", "test", "times", "trap", "ulimit", "umask",
+    { ".", ":", "alias", "bg", "break", "case", "cd", "command", "continue",
+      "eval", "exec", "exit", "export", "fc", "fg", "for", "getopts", "hash",
+      "if", "jobs", "login", "logout", "read", "readonly", "return", "set",
+      "shift", "test", "times", "trap", "type", "ulimit", "umask", "unalias",
       "unset", "wait", "while", 0 };
 
 # ifdef HAVE_DOS_PATHS