From 19c96dfff9bad038a57a377971d5289ae4cd1607 Mon Sep 17 00:00:00 2001 From: ocean Date: Sat, 25 Jun 2005 05:42:41 +0000 Subject: * ext/sdbm/init.c (fsdbm_select): SDBM#select had returned the array which contained each elements twice. [ruby-dev:26358] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/sdbm/init.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ext/sdbm') diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c index c401d4a050..acadc9b26a 100644 --- a/ext/sdbm/init.c +++ b/ext/sdbm/init.c @@ -259,8 +259,6 @@ fsdbm_select(argc, argv, obj) rb_ary_push(new, assoc); } GetDBM2(obj, dbmp, dbm); - if (RTEST(rb_yield(assoc))) - rb_ary_push(new, assoc); } } else { -- cgit v1.2.3