aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-12 11:41:40 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-12 11:41:40 +0000
commit7206f9bc7913fc191fddd654ea9cbded9abad14f (patch)
tree3e34221054117f460c1dce2dcce7de9ec0ba4392
parent7085db45e4f15a58f9a82c8815bcc31364e0fde1 (diff)
downloadruby-7206f9bc7913fc191fddd654ea9cbded9abad14f.tar.gz
* process.c (posix_sh_cmds): the command name of colon is ":".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 */