Permalink
Browse files

* 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
  • Loading branch information...
1 parent 5b7b60b commit 7624e5d36c3b812dad23aba2eb470641c3c59ad8 @nurse nurse committed Jul 18, 2012
Showing with 8 additions and 2 deletions.
  1. +6 −0 ChangeLog
  2. +1 −1 ext/dbm/dbm.c
  3. +1 −1 ext/sdbm/init.c
View
@@ -1,3 +1,9 @@
+Wed Jul 18 23:04:18 2012 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * ext/dbm/dbm.c (fdbm_empty_p): fix wrong condtion introduced in r36438.
+
+ * ext/sdbm/init.c (fsdbm_empty_p): ditto.
+
Wed Jul 18 23:08:57 2012 Tanaka Akira <akr@fsij.org>
* test/ruby/test_beginendblock.rb: remove temporally files early.
View
@@ -699,7 +699,7 @@ fdbm_empty_p(VALUE obj)
}
}
else {
- if (!dbmp->di_size)
+ if (dbmp->di_size)
return Qfalse;
}
return Qtrue;
View
@@ -724,7 +724,7 @@ fsdbm_empty_p(VALUE obj)
}
}
else {
- if (!dbmp->di_size)
+ if (dbmp->di_size)
return Qfalse;
}
return Qtrue;

0 comments on commit 7624e5d

Please sign in to comment.