diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-24 04:34:26 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-24 04:34:26 +0000 |
commit | 8b1de0b1ad49733abeddd8be359ae816b29de59a (patch) | |
tree | a7ed03dd3f6442635f694c4367bcd94be57f6dbd /ext/gdbm | |
parent | 24b9bdca25dc431aff935df7739b9c5ea0ee4077 (diff) | |
download | ruby-8b1de0b1ad49733abeddd8be359ae816b29de59a.tar.gz |
2000-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm')
-rw-r--r-- | ext/gdbm/gdbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c index 3c1ef88adf..044a9908b6 100644 --- a/ext/gdbm/gdbm.c +++ b/ext/gdbm/gdbm.c @@ -159,7 +159,7 @@ fgdbm_delete(obj, keystr) value = gdbm_fetch(dbm, key); if (value.dptr == 0) { - if (rb_iterator_p()) rb_yield(keystr); + if (rb_block_given_p()) rb_yield(keystr); return Qnil; } |