summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--process.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 31cac1cb53..9b28d71ff3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Oct 12 20:40:29 2012 Tanaka Akira <akr@fsij.org>
+
+ * process.c (posix_sh_cmds): the command name of colon is ":".
+
Fri Oct 12 18:18:03 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (rb_get_path_check): path name must not contain NUL bytes.
diff --git a/process.c b/process.c
index bd3cea94ea..f2da92a8e8 100644
--- a/process.c
+++ b/process.c
@@ -2036,9 +2036,9 @@ rb_exec_fillarg(VALUE prog, int argc, VALUE *argv, VALUE env, VALUE opthash, VAL
static const char posix_sh_cmds[][9] = {
"!", /* reserved */
".", /* special built-in */
+ ":", /* special built-in */
"break", /* special built-in */
"case", /* reserved */
- "colon", /* special built-in */
"continue", /* special built-in */
"do", /* reserved */
"done", /* reserved */