1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
akr 2012-10-12 11:41:40 +00:00
parent 7085db45e4
commit 7206f9bc79
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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 */