mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
5b7b60bb59
commit
7624e5d36c
3 changed files with 8 additions and 2 deletions
|
@ -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>
|
Wed Jul 18 23:08:57 2012 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* test/ruby/test_beginendblock.rb: remove temporally files early.
|
* test/ruby/test_beginendblock.rb: remove temporally files early.
|
||||||
|
|
|
@ -699,7 +699,7 @@ fdbm_empty_p(VALUE obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!dbmp->di_size)
|
if (dbmp->di_size)
|
||||||
return Qfalse;
|
return Qfalse;
|
||||||
}
|
}
|
||||||
return Qtrue;
|
return Qtrue;
|
||||||
|
|
|
@ -724,7 +724,7 @@ fsdbm_empty_p(VALUE obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!dbmp->di_size)
|
if (dbmp->di_size)
|
||||||
return Qfalse;
|
return Qfalse;
|
||||||
}
|
}
|
||||||
return Qtrue;
|
return Qtrue;
|
||||||
|
|
Loading…
Reference in a new issue