From 117b7d5c47f31b02cf891c792f919afceaddd080 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 18 Dec 2000 09:46:21 +0000 Subject: matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- hash.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hash.c') diff --git a/hash.c b/hash.c index cc58f608cc..513eeb4347 100644 --- a/hash.c +++ b/hash.c @@ -333,6 +333,7 @@ static VALUE rb_hash_set_default(hash, ifnone) VALUE hash, ifnone; { + rb_hash_modify(hash); RHASH(hash)->ifnone = ifnone; return hash; } -- cgit v1.2.3