diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-12 03:16:31 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-12 03:16:31 +0000 |
commit | 2ce1e73700b1c81e3bdbfa40fced7f3a9fbe8752 (patch) | |
tree | 05cfac969865445eb7ddd74700ef60350d9a9e89 /variable.c | |
parent | be01591aab04baa8d18c90980e81b7312655fc34 (diff) | |
download | ruby-2ce1e73700b1c81e3bdbfa40fced7f3a9fbe8752.tar.gz ruby-2ce1e73700b1c81e3bdbfa40fced7f3a9fbe8752.tar.xz ruby-2ce1e73700b1c81e3bdbfa40fced7f3a9fbe8752.zip |
* bignum.c (rb_big_and): convert argument using 'to_int'.
* bignum.c (rb_big_or): ditto.
* bignum.c (rb_big_xor): ditto.
* eval.c (rb_f_require): allow "require" on $SAFE>0, if feature
name is not tainted.
* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::stream):
Supports StringIO.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/variable.c b/variable.c index 444e2eed6..f2e9c7c98 100644 --- a/variable.c +++ b/variable.c @@ -1150,8 +1150,7 @@ rb_autoload(mod, id, file) struct st_table *tbl; if (!rb_is_const_id(id)) { - rb_raise(rb_eNameError, "autoload must be constant name", - rb_id2name(id)); + rb_raise(rb_eNameError, "autoload must be constant name", rb_id2name(id)); } if (!file || !*file) { rb_raise(rb_eArgError, "empty file name"); |