summaryrefslogtreecommitdiff
path: root/databases/kyotocabinet/files/patch-kcdbext.h
diff options
context:
space:
mode:
Diffstat (limited to 'databases/kyotocabinet/files/patch-kcdbext.h')
-rw-r--r--databases/kyotocabinet/files/patch-kcdbext.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/kyotocabinet/files/patch-kcdbext.h b/databases/kyotocabinet/files/patch-kcdbext.h
new file mode 100644
index 000000000000..2e55cf6fc001
--- /dev/null
+++ b/databases/kyotocabinet/files/patch-kcdbext.h
@@ -0,0 +1,11 @@
+--- kcdbext.h.orig 2012-05-24 16:27:59 UTC
++++ kcdbext.h
+@@ -1278,7 +1278,7 @@ class IndexDB {
+ if (omode_ == 0) {
+ set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened");
+ *sp = 0;
+- return false;
++ return NULL;
+ }
+ if (!cache_) return db_.get(kbuf, ksiz, sp);
+ size_t dvsiz = 0;