summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-13 01:20:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-13 01:20:29 +0000
commit621153bf3fb229a746a74aa1d64ab24622f91268 (patch)
tree0ea908af5e9c14cd3cf3f6f81ad10e4e1432a819 /process.c
parent33b15cef6cc611fe8f5ee8a679b7b0c95f8d187f (diff)
process.c: no SIZE_T_MAX
* process.c (rb_exec_fillarg): get rid of SIZE_T_MAX which may need more headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36051 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 dbbf4f3092..ea41a4c483 100644
--- a/process.c
+++ b/process.c
@@ -1938,7 +1938,7 @@ rb_exec_fillarg(VALUE prog, int argc, VALUE *argv, VALUE env, VALUE opthash, str
has_meta = 1;
}
else if (*p == '/') {
- first.len = SIZE_T_MAX; /* longer than any posix_sh_cmds */
+ first.len = 0x100; /* longer than any posix_sh_cmds */
}
}
if (has_meta)