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 2E63C431FBF; Sun, 22 Nov 2009 19:38:44 -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 8mZcDiwFLu4Z; Sun, 22 Nov 2009 19:38:43 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2E5A3431FAE; Sun, 22 Nov 2009 19:38:43 -0800 (PST) From: Carl Worth To: Bart Trojanowski , notmuch@notmuchmail.org In-Reply-To: <1258906771-6869-1-git-send-email-bart@jukie.net> References: <1258906771-6869-1-git-send-email-bart@jukie.net> Date: Mon, 23 Nov 2009 04:38:28 +0100 Message-ID: <87r5rpgbbf.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] [PATCH] fix notmuch-new bug when database path ends with a trailing / 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: Mon, 23 Nov 2009 03:38:44 -0000 On Sun, 22 Nov 2009 11:19:31 -0500, Bart Trojanowski wrote: > The actual bug was in the filename normalization for storage in the > database. The database.path was removed from the full filename, but if > the database.path from the config file contained a trailing /, the > relative file name would retain an extra leading /... which made it look > like an absolute path after it was read out from the DB. Thanks for the fix, Bart! I've pushed this out now. -Carl