From 7206f9bc7913fc191fddd654ea9cbded9abad14f Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 12 Oct 2012 11:41:40 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ process.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * process.c (posix_sh_cmds): the command name of colon is ":". + Fri Oct 12 18:18:03 2012 Nobuyoshi Nakada * 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 */