Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 5B061431FBC; Fri, 27 Nov 2009 21:37:16 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bd3ddUIAf+lp; Fri, 27 Nov 2009 21:37:15 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id ADF75431FAE; Fri, 27 Nov 2009 21:37:15 -0800 (PST) From: Carl Worth To: Chris Wilson , notmuch@notmuchmail.org In-Reply-To: <1259329811-6393-1-git-send-email-chris@chris-wilson.co.uk> References: <87einkqeyt.fsf@yoom.home.cworth.org> <1259329811-6393-1-git-send-email-chris@chris-wilson.co.uk> Date: Fri, 27 Nov 2009 21:37:00 -0800 Message-ID: <87aay7tdkz.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: [notmuch] [PATCH] notmuch-new: Check for non-fatal errors from stat() X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2009 05:37:16 -0000 --=-=-= On Fri, 27 Nov 2009 13:50:11 +0000, Chris Wilson wrote: > Currently we assume that all errors on stat() a dname is fatal (but > continue anyway and report the error at the end). However, some errors > reported by stat() such as a missing file or insufficient privilege, > we can simply ignore and skip the file. For the others, such as a fault > (unlikely!) or out-of-memory, we handle like the other fatal errors by > jumping to the end. Thanks! Pushed. -Carl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLELb96JDdNq8qSWgRAvlPAJ4tPt6ydVsivyUEp79wLoTBAHgjfACaAiv/ QxXVk6YzaTLA9062lEbgPSg= =is51 -----END PGP SIGNATURE----- --=-=-=--