Re: [BUG] multipart ID of show != part
[notmuch-archives.git] / 1c / ffd67af3d9c4d5f8bfd34c0e6b4a0a623248f8
1 Return-Path: <five9a2@gmail.com>\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 EEC6A431FAE\r
6         for <notmuch@notmuchmail.org>; Thu, 26 Nov 2009 13:21:52 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id Gpi5eBc7WVNB for <notmuch@notmuchmail.org>;\r
11         Thu, 26 Nov 2009 13:21:52 -0800 (PST)\r
12 Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
13         [209.85.218.224])\r
14         by olra.theworths.org (Postfix) with ESMTP id 91001431FBC\r
15         for <notmuch@notmuchmail.org>; Thu, 26 Nov 2009 13:21:52 -0800 (PST)\r
16 Received: by bwz24 with SMTP id 24so840369bwz.30\r
17         for <notmuch@notmuchmail.org>; Thu, 26 Nov 2009 13:21:50 -0800 (PST)\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
19         h=domainkey-signature:received:received:sender:from:to:cc:subject\r
20         :in-reply-to:references:date:message-id:mime-version:content-type;\r
21         bh=P4sQvcLYOUk0BUbvbFa+3aCaewGXMSPPoqrPgfc2r4o=;\r
22         b=JRD+XWKpLcCmxEY2lU+QXCzHUQDO0GevWwt6WsAO154UR8s/iQ5+nPoaHAP+0IWoO7\r
23         +9rTf0uiD5fFYZOxo46OJ1dlRgqVrR5HkDFiZRU+982fXGaENtE4leuxU/EKJNuwtWfe\r
24         S5ZsitBa5ON0z9DMB0JwNspmVOqiQNEhb1l3A=\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
26         h=sender:from:to:cc:subject:in-reply-to:references:date:message-id\r
27         :mime-version:content-type;\r
28         b=hz+XV7zIoeYCe6gg5qyurYV08wltn/5bC4P7kFB+vFQsC8ZgR2hrAitjk/J5LLY6Qa\r
29         AfiVBR9TjNu6hhEIA1WcD+DqVl3/XzlgJ9vbkWctQh6B6+z/kz/AXzFKTXRqf6oSqFAX\r
30         3JpiQuDIaqOBuondHtRDTCaackiCXHO3ZI4Ec=\r
31 Received: by 10.204.175.2 with SMTP id v2mr217689bkz.197.1259270510719;\r
32         Thu, 26 Nov 2009 13:21:50 -0800 (PST)\r
33 Received: from kunyang (vawpc43.ethz.ch [129.132.59.11])\r
34         by mx.google.com with ESMTPS id 2sm1398839fks.43.2009.11.26.13.21.48\r
35         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
36         Thu, 26 Nov 2009 13:21:49 -0800 (PST)\r
37 Sender: Jed Brown <five9a2@gmail.com>\r
38 From: Jed Brown <jed@59A2.org>\r
39 To: Carl Worth <cworth@cworth.org>, Tassilo Horn <tassilo@member.fsf.org>,\r
40         Mikhail Gusarov <dottedmag@dottedmag.net>\r
41 In-Reply-To: <87ljhtq98x.fsf@yoom.home.cworth.org>\r
42 References: <87ws1hldmu.fsf@thinkpad.tsdh.de>\r
43         <87einpl50j.fsf@thinkpad.tsdh.de> <87ljhxjq5i.fsf@vertex.dottedmag>\r
44         <876391l2si.fsf@thinkpad.tsdh.de> <87vdh1472z.fsf@59A2.org>\r
45         <871vjlrv8b.fsf@yoom.home.cworth.org> <873a41dtbu.fsf@59A2.org>\r
46         <87ljhtq98x.fsf@yoom.home.cworth.org>\r
47 Date: Thu, 26 Nov 2009 22:22:24 +0100\r
48 Message-ID: <87zl69c773.fsf@59A2.org>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain; charset=us-ascii\r
51 Cc: notmuch@notmuchmail.org\r
52 Subject: Re: [notmuch] Notmuch doesn't index new mails when mail location\r
53  contains symlinks\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.12\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Thu, 26 Nov 2009 21:21:53 -0000\r
67 \r
68 On Thu, 26 Nov 2009 13:14:22 -0800, Carl Worth <cworth@cworth.org> wrote:\r
69 \r
70 > Then I'm still being really dense here. The non-propagation of mtime is\r
71 > the with actual directories. And the code is trying to do the right\r
72 > thing for that.\r
73 \r
74 The stat() is correct, it's the check for the d_type field coming out of scandir().\r
75 \r
76 20:08 [   jedbrown  ] cworth: I think there are two problems with symlinks.\r
77 20:08 [   jedbrown  ] cworth: First, notmuch-new.c:152 checks path_mtime which is mtime for the current directory.\r
78 20:09 [   jedbrown  ] cworth: Additionally, won't entry->d_type == DT_LNK for a symlink?\r
79 20:14 [     aneesh  ] jedbrown,  i already have a patch posted for that\r
80 20:15 [     aneesh  ] 1259125104-18785-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com\r
81 \r
82 \r
83 Jed\r