[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 45f43323ad 275/427: Check the compiler error code.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql 45f43323ad 275/427: Check the compiler error code. |
Date: |
Tue, 13 Dec 2022 02:59:51 -0500 (EST) |
branch: elpa/emacsql
commit 45f43323adfe46a4ef0f8b65d7a794c9346c98a2
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Check the compiler error code.
---
emacsql-sqlite.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index d9b062ac00..c3503f6b8b 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -96,7 +96,8 @@ buffer. This is for debugging purposes."
collect (match-string 0)))))
(defun emacsql-sqlite-compile (&optional o-level async)
- "Compile the SQLite back-end for EmacSQL, returning non-nil on success."
+ "Compile the SQLite back-end for EmacSQL, returning non-nil on success.
+If called with non-nil ASYNC the return value is meaningless."
(let* ((cc (executable-find "cc"))
(src (expand-file-name "sqlite" emacsql-data-root))
(files (mapcar (lambda (f) (expand-file-name f src))
@@ -116,8 +117,7 @@ buffer. This is for debugging purposes."
(with-current-buffer log
(let ((inhibit-read-only t))
(insert (mapconcat #'identity (cons cc arguments) " ") "\n")
- (apply #'call-process cc nil (if async 0 t) t arguments))))
- :success)))
+ (= 0 (apply #'call-process cc nil (if async 0 t) t
arguments))))))))
(defvar emacsql-sqlite-user-prompted nil
"To avoid prompting for fetch multiple times.")
- [nongnu] elpa/emacsql a459708684 244/427: Move tests into their own directory., (continued)
- [nongnu] elpa/emacsql a459708684 244/427: Move tests into their own directory., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4db068920d 247/427: Provide MySQL front-end., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql dce6736e04 249/427: Oops, add new MySQL module to the Makefile., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql fcba876d0e 251/427: Solve the tty (pty) issue in MySQL., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql fb0e2d5423 256/427: Fix typecase typo., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a6e859f1b5 260/427: Normalize darwin OS., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4332bd67ec 271/427: Flesh out the main header a bit more., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4e9297233d 273/427: Don't rely on C99 mode., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 7963261ef3 270/427: Bump to version 1.0.0., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6f6533ab70 272/427: Add Cygwin note., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 45f43323ad 275/427: Check the compiler error code.,
ELPA Syncer <=
- [nongnu] elpa/emacsql 2f606fdd2d 300/427: Fix with-transaction macro to return results., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 76acd4f8a1 304/427: Add a test for reserved word escaping., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a6155464c7 274/427: Try to build the package locally if possible., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4a58806d64 299/427: Improve new indentation a little bit., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql c512f4287c 315/427: Add back-end note to README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a0587f1b5f 311/427: Fix docstring on emacsql-enable-debugging., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 9cf4e267cc 310/427: Bump up to version 1.0.2., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql fd73d37df8 319/427: Ignore the generated executable, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 048e81b759 320/427: Add file tests/.nosearch, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 017cd8460d 329/427: Use own data root in emacsql-sqlite., ELPA Syncer, 2022/12/13