summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-13 01:20:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-13 01:20:05 +0000
commit33b15cef6cc611fe8f5ee8a679b7b0c95f8d187f (patch)
treef8e26f13909e12b96cc16785283f0cf876d174da /process.c
parent2d460925f2e5beb24fb19dc4b0a07ce1598dac60 (diff)
process.c: fix array element size
* process.c (rb_exec_fillarg): fix array element size. "continue" and "readonly" exceeded the size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 48a26ded18..dbbf4f3092 100644
--- a/process.c
+++ b/process.c
@@ -1866,7 +1866,7 @@ rb_exec_fillarg(VALUE prog, int argc, VALUE *argv, VALUE env, VALUE opthash, str
#ifndef _WIN32
if (e->use_shell) {
- static const char posix_sh_cmds[][8] = {
+ static const char posix_sh_cmds[][9] = {
"!", /* reserved */
".", /* special built-in */
"break", /* special built-in */