summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-01 03:34:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-01 03:34:04 +0000
commit69866a4b972d1d2a12bddc4b2aa18e988b5e8249 (patch)
treef8a0e13488d181eeedc13b12caa07bcdd5f8f016 /ruby.c
parentd1ad995dfd6969d1140cfabe0c86a85fe8fbe63e (diff)
commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index e12391762d..482ecddb8d 100644
--- a/ruby.c
+++ b/ruby.c
@@ -882,7 +882,7 @@ set_arg0(val, id)
{
char *s;
int i;
- static int len;
+ int len = origarglen;
if (origargv == 0) rb_raise(rb_eRuntimeError, "$0 not initialized");
StringValue(val);