mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* 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
This commit is contained in:
parent
8bdfa739ad
commit
2046e06513
3 changed files with 14 additions and 92 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue