summaryrefslogtreecommitdiffstats
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
commit3c4e89826e93e876ea12bd645157ab1674f9c64e (patch)
treef8a0e13488d181eeedc13b12caa07bcdd5f8f016 /ruby.c
parentfd2086a7556795eb5b81b5268db5b2ac8c8d2e91 (diff)
downloadruby-3c4e89826e93e876ea12bd645157ab1674f9c64e.tar.gz
ruby-3c4e89826e93e876ea12bd645157ab1674f9c64e.tar.xz
ruby-3c4e89826e93e876ea12bd645157ab1674f9c64e.zip
commit miss.
git-svn-id: http://svn.ruby-lang.org/repos/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 e12391762..482ecddb8 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);