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 71293431FBC; Mon, 23 Nov 2009 18:34:01 -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 BJBI3tTMvoWh; Mon, 23 Nov 2009 18:34:01 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2455C431FAE; Mon, 23 Nov 2009 18:33:58 -0800 (PST) From: Carl Worth To: Jed Brown , notmuch@notmuchmail.org In-Reply-To: <1259009853-1634-1-git-send-email-jed@59A2.org> References: <1259009853-1634-1-git-send-email-jed@59A2.org> Date: Mon, 23 Nov 2009 18:33:44 -0800 Message-ID: <87my2c648n.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] [PATCH] Stay out of tmp to respect the Maildir spec. 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: Tue, 24 Nov 2009 02:34:01 -0000 On Mon, 23 Nov 2009 21:57:33 +0100, Jed Brown wrote: > if (strcmp (entry->d_name, ".") == 0 || > strcmp (entry->d_name, "..") == 0 || > + strcmp (entry->d_name, "tmp") == 0 || > strcmp (entry->d_name, ".notmuch") ==0) Thanks, Jed! I've pushed this now. And sorry about any "file not found" errors anybody is stuck with now. We'll need to add support for cleaning those up soon, (which is the same as supporting deleted mail). -Carl