mcst-linux-kernel/patches-2024.06.26/kyotocabinet-1.2.76/0002-lcc-1.24-compat.patch

13 lines
400 B
Diff

diff -Naur orig/kcdbext.h new/kcdbext.h
--- orig/kcdbext.h 2019-08-30 11:53:28.688869013 +0000
+++ new/kcdbext.h 2019-08-30 11:53:48.996868466 +0000
@@ -1278,7 +1278,7 @@
if (omode_ == 0) {
set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened");
*sp = 0;
- return false;
+ return 0;
}
if (!cache_) return db_.get(kbuf, ksiz, sp);
size_t dvsiz = 0;