diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-18 14:09:59 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-18 14:09:59 +0000 |
commit | 7624e5d36c3b812dad23aba2eb470641c3c59ad8 (patch) | |
tree | 0cbc4918379f51f29f87a5a8e668ef433f1f22d0 /ext/dbm | |
parent | 5b7b60bb5954e73dada16bc6b342020878489bdc (diff) | |
download | ruby-7624e5d36c3b812dad23aba2eb470641c3c59ad8.tar.gz |
* ext/dbm/dbm.c (fdbm_empty_p): fix wrong condtion introduced in r36438.
* ext/sdbm/init.c (fsdbm_empty_p): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dbm')
-rw-r--r-- | ext/dbm/dbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c index 8f50e32192..d41906aa74 100644 --- a/ext/dbm/dbm.c +++ b/ext/dbm/dbm.c @@ -699,7 +699,7 @@ fdbm_empty_p(VALUE obj) } } else { - if (!dbmp->di_size) + if (dbmp->di_size) return Qfalse; } return Qtrue; |