diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-15 04:20:31 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-15 04:20:31 +0000 |
commit | 2046e06513f6998359174ccd8e46fba3acef9fc4 (patch) | |
tree | 8e25e4d4c7547d12668345e87df955d4ecb5a5f8 /variable.c | |
parent | 8bdfa739ad8ea1e57fbfc30d88ef6ade328ae4fe (diff) | |
download | ruby-2046e06513f6998359174ccd8e46fba3acef9fc4.tar.gz |
* io.c (set_stdio): $stdin, $stdout, $stderr now became read-only.
* variable.c (readonly_setter): message changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 05d2056b82..0bb456d0c8 100644 --- a/variable.c +++ b/variable.c @@ -468,7 +468,7 @@ readonly_setter(val, id, var) ID id; void *var; { - rb_name_error(id, "can't set variable %s", rb_id2name(id)); + rb_name_error(id, "%s is a read-only variable", rb_id2name(id)); } static int |