From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yLmRLaX/c2E8ZwAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 14:27:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KGdMKaX/c2ESfgAA1q6Kng (envelope-from ) for ; Sat, 23 Oct 2021 12:27:17 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 36FA97599 for ; Sat, 23 Oct 2021 14:27:17 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 00EBB2C1CF; Sat, 23 Oct 2021 08:27:12 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 6FBF72C1CC for ; Sat, 23 Oct 2021 08:27:08 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 3BCA75FC42; Sat, 23 Oct 2021 08:27:08 -0400 (EDT) Received: (nullmailer pid 1742139 invoked by uid 1000); Sat, 23 Oct 2021 12:27:07 -0000 From: David Bremner To: notmuch@notmuchmail.org Cc: David Bremner Subject: [PATCH 2/2] lib/open: replace call to deprecated notmuch_database_open_verbose Date: Sat, 23 Oct 2021 09:27:02 -0300 Message-Id: <20211023122702.1742118-2-david@tethera.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211023122702.1742118-1-david@tethera.net> References: <20211023122702.1742118-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: EEA4L6BSROD7FUJV4XATWGPRDCGIU7NN X-Message-ID-Hash: EEA4L6BSROD7FUJV4XATWGPRDCGIU7NN X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634992037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=P5HoB2TSw64UbiMeMfvkEpp15o4L9nMxjsEY92tebEI=; b=VasuSiNuE2iDS0wRF3BfZfqFfCN4Aldkv7wS0RhdEmmCk6ZVzdSiM190dcBBVNs0ZByOpl PrI1U3cB4gep6CbrCaMNlDRy9TEdm0gOpZlZf2zFC2KfSDoIlfH/3dOjyGlDlVNR5vZxve rQekgltZJqKCgQ5AyVb3qLFsr84eH4g16VQ0vs+8H9NjMOe8z9hMfYI2VtNFtYcO0IVPAr KVEOP+dKu7pB0Zr1q14r2ZzPeJV1ixywMYeddi/1C6fHeuunbY8Yxnv7CnlwWYNOGmaRaX rBe7wStRUeENCbYv3vMmwKbTbkLcVZGTME/1BDEf75hshM5LWZXuiuPCBj5WYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634992037; a=rsa-sha256; cv=none; b=HpkGrG1eoYpyo7Q9OWa1OsM1UHFNvR35P3WCLVaMBwinjX+wDSL5yN9dUe7dIRH6feVWRC 9gu2V68UBa6h+c80zkLor5HYb8ikq8Aszbf6lp+cbz8+0U66dnRGLWyeMzqzbG7RetfcM6 Unm8vAtV6aB3WgWbdmUOLC1uonN9P1ICIUZ2wodJUeI7qvyVkoNrt0PjrujJDUMb+Owlhd YohK7o73uDgk+KVZULlkV6QZ561tYoFNickfn9Ugz8bxW++6Yj2gciP/mfKoCFj5DO5Dbc YJfrZXGxXshx51GEGH4AfNT5B5JBWF4FasftryV0dT0NebpYeeyyLXONEutPQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.15 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 36FA97599 X-Spam-Score: -1.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: KM8Ep8uAvR7T Essentially inline the existing shim definition of notmuch_database_open_verbose. --- lib/open.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/open.cc b/lib/open.cc index 8a835e98..86faf1d9 100644 --- a/lib/open.cc +++ b/lib/open.cc @@ -19,9 +19,8 @@ notmuch_database_open (const char *path, char *status_string = NULL; notmuch_status_t status; - status = notmuch_database_open_verbose (path, mode, database, - &status_string); - + status = notmuch_database_open_with_config (path, mode, "", NULL, + database, &status_string); if (status_string) { fputs (status_string, stderr); free (status_string); -- 2.33.0