diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-07-31 06:20:10 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-07-31 06:20:10 +0000 |
commit | fe933ddc685942f3722dac9b09d23d9243a72ddc (patch) | |
tree | 92e27e4c6b21eda16fd985a2549563d66d4fff83 /hash.c | |
parent | 3cfd65346b3f9a36da05d81a530c8c33dd4209ed (diff) |
* marshal.c (marshal_load): ruby_verbose test should be wrapped by
RTEST().
* hash.c (rb_hash_index): should return nil (not the default
value) if value is not in the hash.
* bignum.c (rb_cstr2inum): "0 ff".hex should return 0, not 255.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -361,7 +361,7 @@ rb_hash_index(hash, value) VALUE args[2]; args[0] = value; - args[1] = RHASH(hash)->ifnone; + args[1] = Qnil; st_foreach(RHASH(hash)->tbl, index_i, args); |