[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xeft 2fd4dd6ef8 41/55: Update xapian-lite.cc
From: |
ELPA Syncer |
Subject: |
[elpa] externals/xeft 2fd4dd6ef8 41/55: Update xapian-lite.cc |
Date: |
Fri, 13 Jan 2023 23:58:39 -0500 (EST) |
branch: externals/xeft
commit 2fd4dd6ef86a96869af56837602ba3893a677d83
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
Update xapian-lite.cc
* module/emacs-module-prelude.h: Sync with upstream.
* module/xapian-lite.cc (copy_string): Sync with upstream.
---
module/emacs-module-prelude.h | 5 +++--
module/xapian-lite.cc | 1 -
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/module/emacs-module-prelude.h b/module/emacs-module-prelude.h
index a4587652be..4edb9d1450 100644
--- a/module/emacs-module-prelude.h
+++ b/module/emacs-module-prelude.h
@@ -14,8 +14,9 @@
/*
Copy a Lisp string VALUE into BUFFER, and store the string size in
- SIZE. A user doesn’t need to allocate BUFFER, but it is the user’s
- responsibility to free it.
+ SIZE. A user doesn’t need to allocate BUFFER, but it is the user’s
+ responsibility to free it. If failed, return false, and the buffer
+ doesn’t need to be freed.
*/
bool
emp_copy_string_contents
diff --git a/module/xapian-lite.cc b/module/xapian-lite.cc
index 0b85ceaeb4..50a7eb9500 100644
--- a/module/xapian-lite.cc
+++ b/module/xapian-lite.cc
@@ -224,7 +224,6 @@ copy_string (emacs_env *env, emacs_value value)
}
else
{
- free (char_buffer);
emp_signal_message1 (env, "xapian-lite-error",
"Error turning lisp string to C++ string");
return "";
- [elpa] externals/xeft 6efff4f20d 12/55: Add conexcept qualifier, (continued)
- [elpa] externals/xeft 6efff4f20d 12/55: Add conexcept qualifier, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 5c8adb7c51 28/55: * Makefile: Fix PREFIX., ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 78bf82b507 31/55: * xeft.el (xeft-refresh): Remove workaround for emacs-rime., ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 6d27d1a7ab 32/55: Replace xeft-module with xapian-lite, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 4f16722a47 38/55: Handle database errors, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 321dd84b64 39/55: * Makefile: Add support for windows dylib extension, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 361ee04913 54/55: * xeft.el (xeft--download-module): Fix., ELPA Syncer, 2023/01/13
- [elpa] externals/xeft f193d6135e 42/55: Ignore dot directory and make file function customizable, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 4bdb052d81 55/55: * xeft.el: Bump to version 3.2., ELPA Syncer, 2023/01/13
- [elpa] externals/xeft babe67496a 52/55: Add xapian-lite source, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 2fd4dd6ef8 41/55: Update xapian-lite.cc,
ELPA Syncer <=