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 ms11 with LMTPS id KHu5OYFfJV+CagAA0tVLHw (envelope-from ) for ; Sat, 01 Aug 2020 12:26:41 +0000 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 INifNYFfJV/xMgAA1q6Kng (envelope-from ) for ; Sat, 01 Aug 2020 12:26:41 +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) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A1AF8940776 for ; Sat, 1 Aug 2020 12:26:40 +0000 (UTC) Received: from [144.217.243.247] (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 331B228835; Sat, 1 Aug 2020 08:26:26 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id CFB07287B3 for ; Sat, 1 Aug 2020 08:26:21 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id EAFBE5FA66; Sat, 1 Aug 2020 08:26:19 -0400 (EDT) Received: (nullmailer pid 285878 invoked by uid 1000); Sat, 01 Aug 2020 12:26:06 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Final (v2) batch of patches in API exception handling cleanup Date: Sat, 1 Aug 2020 09:25:49 -0300 Message-Id: <20200801122603.285803-1-david@tethera.net> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Message-ID-Hash: 3IPUO2MNZ3FCBPLADFI2YXYA7WN6RJEI X-Message-ID-Hash: 3IPUO2MNZ3FCBPLADFI2YXYA7WN6RJEI 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-Scanner: scn0 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-Spam-Score: 0.03 X-TUID: iZp1AQAeSsUn I'm going to mark these ready since the changes from the previous batch are trivial. Feel free to ping me if you want time to review. I'm sending again mainly to collect into one series for the historical record (patch 1/14 used to be separate) The non-test changes are [PATCH 01/14] lib: return NULL from n_d_get_default_indexopts on [PATCH 06/14] lib: catch exceptions in n_directory_get_child_directories [PATCH 08/14] lib: catch exceptions in n_directory_get_child_files [PATCH 10/14] lib: fix return value for n_directory_delete