summaryrefslogtreecommitdiff
path: root/ext/dbm
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1997-11-25 15:03:28 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:33 +0900
commitab261638f5b87384fa2bda5678cb38ae9a505209 (patch)
treeb93a5710992f99f4a108736e7ef0fd8bc710f609 /ext/dbm
parentcfd31fa21b67c4992a0360d7c605de1c6add874e (diff)
version 1.0-971125v1_0_971125
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-1.0-971125.tar.gz Tue Nov 25 15:03:28 1997 Yukihiro Matsumoto <matz@netlab.co.jp> * version 1.0-971125 Fri Nov 21 13:17:12 1997 Yukihiro Matsumoto <matz@netlab.co.jp> * parse.y (yylex): skip multibyte characters in comments. Wed Nov 19 17:19:20 1997 Yukihiro Matsumoto <matz@netlab.co.jp> * parse.y (call_args): wrong node generation.
Diffstat (limited to 'ext/dbm')
-rw-r--r--ext/dbm/dbm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c
index f0522f2..5107aab 100644
--- a/ext/dbm/dbm.c
+++ b/ext/dbm/dbm.c
@@ -206,6 +206,7 @@ fdbm_delete_if(obj)
rb_secure(4);
GetDBM(obj, dbmp);
+ dbm = dbmp->di_dbm;
for (key = dbm_firstkey(dbm); key.dptr; key = dbm_nextkey(dbm)) {
val = dbm_fetch(dbm, key);
keystr = str_taint(str_new(key.dptr, key.dsize));