1 Return-Path: <tom@dbservice.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 A4698431FBC
\r
6 for <notmuch@notmuchmail.org>; Tue, 22 Dec 2009 22:57:28 -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 aW57Cb-qsH8v for <notmuch@notmuchmail.org>;
\r
11 Tue, 22 Dec 2009 22:57:28 -0800 (PST)
\r
12 Received: from office.neopsis.com (office.neopsis.com [78.46.209.98])
\r
13 by olra.theworths.org (Postfix) with ESMTP id C3A06431FAE
\r
14 for <notmuch@notmuchmail.org>; Tue, 22 Dec 2009 22:57:27 -0800 (PST)
\r
15 Received: from calvin.caurea.org ([62.65.141.13])
\r
16 (authenticated user tom@dbservice.com) by office.neopsis.com
\r
17 (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits));
\r
18 Wed, 23 Dec 2009 07:57:21 +0100
\r
19 Message-ID: <4B31BF51.9030508@dbservice.com>
\r
20 Date: Wed, 23 Dec 2009 07:57:21 +0100
\r
21 From: Tomas Carnecky <tom@dbservice.com>
\r
22 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
\r
23 rv:1.9.3a1pre) Gecko/20091222 Lightning/1.1a1pre Shredder/3.1a1pre
\r
25 To: Olly Betts <olly@survex.com>
\r
26 References: <1261450617-24616-1-git-send-email-tom@dbservice.com>
\r
27 <loom.20091223T000211-724@post.gmane.org>
\r
28 In-Reply-To: <loom.20091223T000211-724@post.gmane.org>
\r
29 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
\r
30 Content-Transfer-Encoding: 7bit
\r
31 Cc: notmuch@notmuchmail.org
\r
32 Subject: Re: [notmuch] [PATCH] Add post-add and post-tag hooks
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.12
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Wed, 23 Dec 2009 06:57:28 -0000
\r
47 On 12/23/09 12:02 AM, Olly Betts wrote:
\r
48 > Tomas Carnecky writes:
\r
49 >> #if defined(__sun__)
\r
50 >> ... sprintf, stat etc
\r
53 >> return dirent->d_type == DT_DIR;
\r
56 > Rather than a platform-specific check, it would be better to check if DT_DIR
\r
59 > Beware that even on Linux (where the d_type field is present), it may always
\r
60 > contain DT_UNKNOWN for some filesystems, so you really should check for that
\r
61 > case and fall back to using stat() instead.
\r
63 Currently configure is a simple shell script and not some autoconf
\r
64 magic. And I don't know how eager Carl is to use autoconf, scons, cmake
\r