From 9a65bd2d766446e593b4c3ce8e3fd3a0e04074ca Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 18 Dec 2000 09:46:21 +0000 Subject: matz git-svn-id: http://svn.ruby-lang.org/repos/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 cc58f608c..513eeb434 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