Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 1c / 3f4629888387437a4bbc28887c0b4867eba6cc
1 Return-Path: <racin@free.fr>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id AC976431FAE\r
6         for <notmuch@notmuchmail.org>; Sat, 23 Jan 2010 01:02:29 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.02\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.02 tagged_above=-999 required=5 tests=[AWL=0.019,\r
12         BAYES_50=0.001] autolearn=unavailable\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id x+puk+WWM5pV for <notmuch@notmuchmail.org>;\r
16         Sat, 23 Jan 2010 01:02:28 -0800 (PST)\r
17 Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5])\r
18         by olra.theworths.org (Postfix) with ESMTP id 23174431FBC\r
19         for <notmuch@notmuchmail.org>; Sat, 23 Jan 2010 01:02:26 -0800 (PST)\r
20 Received: from smtp5-g21.free.fr (localhost [127.0.0.1])\r
21         by smtp5-g21.free.fr (Postfix) with ESMTP id AC56BD48118;\r
22         Sat, 23 Jan 2010 10:02:19 +0100 (CET)\r
23 Received: from zimbra1-e1.priv.proxad.net (zimbra1-e1.priv.proxad.net\r
24         [172.20.243.151])\r
25         by smtp5-g21.free.fr (Postfix) with ESMTP id 37144D480E3;\r
26         Sat, 23 Jan 2010 10:02:14 +0100 (CET)\r
27 Date: Sat, 23 Jan 2010 10:02:12 +0100 (CET)\r
28 From: racin@free.fr\r
29 To: Carl Worth <cworth@cworth.org>\r
30 Message-ID:\r
31  <1360022660.3084081264237332798.JavaMail.root@zimbra1-e1.priv.proxad.net>\r
32 In-Reply-To:\r
33  <1332123765.3083871264237284361.JavaMail.root@zimbra1-e1.priv.proxad.net>\r
34 MIME-Version: 1.0\r
35 Content-Type: multipart/mixed; \r
36         boundary="----=_Part_95526_989880391.1264237332796"\r
37 X-Originating-IP: [82.239.207.166]\r
38 X-Mailer: Zimbra 5.0 (ZimbraWebClient - FF3.0\r
39         (Linux)/5.0.15_GA_2815.UBUNTU8_64)\r
40 X-Authenticated-User: racin@free.fr\r
41 Cc: notmuch@notmuchmail.org\r
42 Subject: Re: [notmuch] Bug with commit\r
43  2e96464f9705be4ec772280cad71a6c9d5831e6f\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Sat, 23 Jan 2010 09:02:30 -0000\r
57 \r
58 ------=_Part_95526_989880391.1264237332796\r
59 Content-Type: text/plain; charset=utf-8\r
60 Content-Transfer-Encoding: quoted-printable\r
61 \r
62 Works with the following patch (replace a DT_UKNOWN with DT_UNKNOWN, else i=\r
63 t fails to compile)\r
64 \r
65 Matthieu\r
66 \r
67 \r
68 ----- Mail Original -----\r
69 De: "Carl Worth" <cworth@cworth.org>\r
70 =C3=80: racin@free.fr, "Ali Polatel" <alip@exherbo.org>\r
71 Cc: notmuch@notmuchmail.org\r
72 Envoy=C3=A9: Samedi 23 Janvier 2010 07h06:12 GMT +01:00 Amsterdam / Berlin =\r
73 / Berne / Rome / Stockholm / Vienne\r
74 Objet: Re: [notmuch] Bug with commit 2e96464f9705be4ec772280cad71a6c9d5831e=\r
75 6f\r
76 \r
77 On Sat, 16 Jan 2010 02:42:39 +0100 (CET), racin@free.fr wrote:\r
78 > I still confirm the bug.\r
79 >=20\r
80 > The problem is due to relying on non-standardized fields of directory ent=\r
81 ries (i.e. d_type), which don't behave the\r
82 > same on reiserfs than on ext2 (I use reiserfs).=20\r
83 >=20\r
84 > The following ugly patch "solves" my problem.\r
85 \r
86 I just pushed a cleaner version of this patch from a later post. I hope\r
87 it helps and that you can have fun with notmuch!\r
88 \r
89 -Carl\r
90 \r
91 PS. Micah and Martin, Stacy says "you're welcome" for this and any\r
92 further notmuch work that happens to get done during this vacation. :-)\r
93 \r
94 ------=_Part_95526_989880391.1264237332796\r
95 Content-Type: application/octet-stream; name=patch\r
96 Content-Transfer-Encoding: 7bit\r
97 Content-Disposition: attachment; filename=patch\r
98 \r
99 diff --git a/notmuch-new.c b/notmuch-new.c\r
100 index 124d38d..f25c71f 100644\r
101 --- a/notmuch-new.c\r
102 +++ b/notmuch-new.c\r
103 @@ -282,7 +282,7 @@ add_files_recursive (notmuch_database_t *notmuch,\r
104          * recursion). */\r
105         if (entry->d_type != DT_DIR &&\r
106             entry->d_type != DT_LNK &&\r
107 -           entry->d_type != DT_UKNOWN)\r
108 +           entry->d_type != DT_UNKNOWN)\r
109         {\r
110             continue;\r
111         }\r
112 \r
113 ------=_Part_95526_989880391.1264237332796--\r