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 AC976431FAE for ; Sat, 23 Jan 2010 01:02:29 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.02 X-Spam-Level: X-Spam-Status: No, score=0.02 tagged_above=-999 required=5 tests=[AWL=0.019, BAYES_50=0.001] autolearn=unavailable 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 x+puk+WWM5pV for ; Sat, 23 Jan 2010 01:02:28 -0800 (PST) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by olra.theworths.org (Postfix) with ESMTP id 23174431FBC for ; Sat, 23 Jan 2010 01:02:26 -0800 (PST) Received: from smtp5-g21.free.fr (localhost [127.0.0.1]) by smtp5-g21.free.fr (Postfix) with ESMTP id AC56BD48118; Sat, 23 Jan 2010 10:02:19 +0100 (CET) Received: from zimbra1-e1.priv.proxad.net (zimbra1-e1.priv.proxad.net [172.20.243.151]) by smtp5-g21.free.fr (Postfix) with ESMTP id 37144D480E3; Sat, 23 Jan 2010 10:02:14 +0100 (CET) Date: Sat, 23 Jan 2010 10:02:12 +0100 (CET) From: racin@free.fr To: Carl Worth Message-ID: <1360022660.3084081264237332798.JavaMail.root@zimbra1-e1.priv.proxad.net> In-Reply-To: <1332123765.3083871264237284361.JavaMail.root@zimbra1-e1.priv.proxad.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_95526_989880391.1264237332796" X-Originating-IP: [82.239.207.166] X-Mailer: Zimbra 5.0 (ZimbraWebClient - FF3.0 (Linux)/5.0.15_GA_2815.UBUNTU8_64) X-Authenticated-User: racin@free.fr Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] Bug with commit 2e96464f9705be4ec772280cad71a6c9d5831e6f X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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, 23 Jan 2010 09:02:30 -0000 ------=_Part_95526_989880391.1264237332796 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Works with the following patch (replace a DT_UKNOWN with DT_UNKNOWN, else i= t fails to compile) Matthieu ----- Mail Original ----- De: "Carl Worth" =C3=80: racin@free.fr, "Ali Polatel" Cc: notmuch@notmuchmail.org Envoy=C3=A9: Samedi 23 Janvier 2010 07h06:12 GMT +01:00 Amsterdam / Berlin = / Berne / Rome / Stockholm / Vienne Objet: Re: [notmuch] Bug with commit 2e96464f9705be4ec772280cad71a6c9d5831e= 6f On Sat, 16 Jan 2010 02:42:39 +0100 (CET), racin@free.fr wrote: > I still confirm the bug. >=20 > The problem is due to relying on non-standardized fields of directory ent= ries (i.e. d_type), which don't behave the > same on reiserfs than on ext2 (I use reiserfs).=20 >=20 > The following ugly patch "solves" my problem. I just pushed a cleaner version of this patch from a later post. I hope it helps and that you can have fun with notmuch! -Carl PS. Micah and Martin, Stacy says "you're welcome" for this and any further notmuch work that happens to get done during this vacation. :-) ------=_Part_95526_989880391.1264237332796 Content-Type: application/octet-stream; name=patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=patch diff --git a/notmuch-new.c b/notmuch-new.c index 124d38d..f25c71f 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -282,7 +282,7 @@ add_files_recursive (notmuch_database_t *notmuch, * recursion). */ if (entry->d_type != DT_DIR && entry->d_type != DT_LNK && - entry->d_type != DT_UKNOWN) + entry->d_type != DT_UNKNOWN) { continue; } ------=_Part_95526_989880391.1264237332796--