From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lin Sun Newsgroups: gmane.emacs.bugs Subject: bug#63653: 29.0.91; [PATCH] More fix for loading SQLite extensions Date: Tue, 23 May 2023 04:36:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000d1824005fc54ed65" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22125"; mail-complaints-to="usenet@ciao.gmane.io" To: 63653@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 23 09:11:01 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q1MAd-0005Zu-Nu for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 May 2023 09:10:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1M9j-0008Ag-M4; Tue, 23 May 2023 03:10:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1M9i-0008AP-Pj for bug-gnu-emacs@gnu.org; Tue, 23 May 2023 03:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1M9i-0007yG-Fd for bug-gnu-emacs@gnu.org; Tue, 23 May 2023 03:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q1M9h-0005FN-TO for bug-gnu-emacs@gnu.org; Tue, 23 May 2023 03:10:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: lin Sun Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 May 2023 07:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63653 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63653-submit@debbugs.gnu.org id=B63653.168482578220127 (code B ref 63653); Tue, 23 May 2023 07:10:01 +0000 Original-Received: (at 63653) by debbugs.gnu.org; 23 May 2023 07:09:42 +0000 Original-Received: from localhost ([127.0.0.1]:38103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1M9M-0005EX-OG for submit@debbugs.gnu.org; Tue, 23 May 2023 03:09:41 -0400 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:51590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1Jl5-0005qs-70 for 63653@debbugs.gnu.org; Tue, 23 May 2023 00:36:28 -0400 Original-Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-96f53c06babso919822966b.3 for <63653@debbugs.gnu.org>; Mon, 22 May 2023 21:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684816581; x=1687408581; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Eu0UK6Xs80bUDsHcIZYM91Qs4BcVZ+Kw+dI/Uwo3yGg=; b=i9iXlQonvwnM874i7Ak7jA2Ngr6bV8IkgwfAURKIIfQSebcBZPJTWoDhchiLt3vS67 dzmaa4p9u95bHyj/iTtDJl+cPQvJ3X8Kg9MFjD+Xgel3N1iZx/7Xkoi6l8Xy1OvhFD0C itp25mQOMXzlDIicolOQg29nu0rel/OpjcLvmHnfcOlwFMfqHKeybL0kzVf43ibR0D7W S/fZQ+iWdhkoUl8oVn91FWEONIFBhegPJXPxEfULHEdxHFg7gdT+nDItecW+P24jBY/v twBmoUQY4qMsvwZy+PHYiPVpARMl256gs1BoOrGLS40/iJPHPBsBF0CLNWnaVCJQvAig C1LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684816581; x=1687408581; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Eu0UK6Xs80bUDsHcIZYM91Qs4BcVZ+Kw+dI/Uwo3yGg=; b=CKqxWlSz1yTySZzeY6oHAai+NDqnU2PKMfZIF5FZ3nSo53tfgTaYFZDYuCRqvGlOQn +DRfbeKj7sENN8vvrEPCYowtzBtpASrCk0xMUJTDA0iAl7QRjvSkP3Qgb0N/s156RYpf QSekrr0oBM9KfKxERlhdtjxt1p63JHE4aNW0gePljMKY3qjFrpZ9NeGYHwwuX6P7bQeW 9XYJxWTySUPeNQJYnawz13nlEFymm49dXlEgf2CRm0RBMrA622v22zCDgREfAZFoaY8/ ABi4rj8TQoruUgnTVepH+EjkS8OaqTmFVVbfpSaUz25T98+d8hbtvWQOGPYgqwLJ/yfd XeBQ== X-Gm-Message-State: AC+VfDwmRLDilscZtmiJrnjHYJLqGEiSaCG9vRXKzfTcp1Zt2nM+SWLo dHtY8fKk2y49zFEBFVUC8TiQT2U2i0VXVg+EkAn6c5a7 X-Google-Smtp-Source: ACHHUZ6hb3VOgPLqMjttNyvEyI8li11GdewqLpgrFLyGtw6Cmzfcczz1NouCBcfNs6dNKpSYd4+7q5c4iGaFRI2qezc= X-Received: by 2002:a17:907:7f8c:b0:966:1fef:22d8 with SMTP id qk12-20020a1709077f8c00b009661fef22d8mr12895566ejc.7.1684816580928; Mon, 22 May 2023 21:36:20 -0700 (PDT) X-Mailman-Approved-At: Tue, 23 May 2023 03:09:39 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262209 Archived-At: --000000000000d1824005fc54ed65 Content-Type: text/plain; charset="UTF-8" Attachments --000000000000d1824005fc54ed65 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-More-fix-for-loading-SQLite-extensions.patch" Content-Disposition: attachment; filename="0001-More-fix-for-loading-SQLite-extensions.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lhzsa6ak0 RnJvbSAzMzJlOWMzYzIyNTNiNDA1ODRiYTc2ZGU0ZTM2NDQyMDRhY2JmY2RjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMaW4gU3VuIDxzdW5saW43QGhvdG1haWwuY29tPgpEYXRlOiBU dWUsIDIzIE1heSAyMDIzIDAwOjAwOjEyICswMDAwClN1YmplY3Q6IFtQQVRDSF0gTW9yZSBmaXgg Zm9yIGxvYWRpbmcgU1FMaXRlIGV4dGVuc2lvbnMKCiogc3JjL3NxbGl0ZS5jIChzcWxpdGUzX2Ri X2NvbmZpZyk6IExvYWQgZnJvbSB0aGUgZHlsaWIuCihGc3FsaXRlX2xvYWRfZXh0ZW5zaW9uKTog cmVseSBvbiB0aGUgU1FMSVRFX0RCQ09ORklHX0VOQUJMRV9MT0FEX0VYVEVOU0lPTgpleGlzdGVu Y2UuCi0tLQogc3JjL3NxbGl0ZS5jIHwgNyArKysrKystCiAxIGZpbGUgY2hhbmdlZCwgNiBpbnNl cnRpb25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvc3JjL3NxbGl0ZS5jIGIvc3Jj L3N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