1 Return-Path: <dme@dme.org>
\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 863E3431FB6
\r
6 for <notmuch@notmuchmail.org>; Tue, 28 Oct 2014 02:15:42 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id JO-1oRQBv-6v for <notmuch@notmuchmail.org>;
\r
17 Tue, 28 Oct 2014 02:15:35 -0700 (PDT)
\r
18 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com
\r
19 [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 4B5EB431FAE
\r
22 for <notmuch@notmuchmail.org>; Tue, 28 Oct 2014 02:15:35 -0700 (PDT)
\r
23 Received: by mail-wi0-f181.google.com with SMTP id n3so873139wiv.8
\r
24 for <notmuch@notmuchmail.org>; Tue, 28 Oct 2014 02:15:32 -0700 (PDT)
\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=1e100.net; s=20130820;
\r
27 h=x-gm-message-state:to:subject:in-reply-to:references:user-agent
\r
28 :from:date:message-id:mime-version:content-type;
\r
29 bh=DvV1lTTtdJ6R3wVD6Do+y9ZT8xMSQae8gq7xWUFzy2E=;
\r
30 b=TgKuJMITD2sMvLbeGJ9K4kiN2dKLnb4rwjDBM6Lf8PO4XCtgIRLkGgf+6YF9ACjrBi
\r
31 qUECZGPUAGwc63Zf0ZfjJVQivPB8q5p37c+ydYqLJSFdjWSWVq7WsxYp3+A/s+MDFjhG
\r
32 P/iIB7Wf+LRC2U1jjnO0zzvun3kZvCDlXpLzpnThoMk8jDSyMlwSfPeJeGceqVfnuxJ8
\r
33 HCRAr6JmUbcXdSAjU1L/lJpQLXIPHJH9aevjMr1Tak6CxT+4d+xrL6dcy8DP7wxQW6oP
\r
34 P/bJIHOhp3fIF/dtlxSx64WFo5iUOy6ZEOBYPmfn6A8zHrFV8Mx/8nAEUsUwXt24oc15
\r
37 ALoCoQm+K/cpaht2f54Zr9miBu+4Oue1ruU5FiyodTput/sSwa8auLpKKYYkeC8PbttO3nT7fV4H
\r
38 X-Received: by 10.194.122.104 with SMTP id lr8mr2551455wjb.28.1414487731605;
\r
39 Tue, 28 Oct 2014 02:15:31 -0700 (PDT)
\r
40 Received: from disaster-area.hh.sledj.net
\r
41 ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])
\r
42 by mx.google.com with ESMTPSA id mc4sm1468978wic.6.2014.10.28.02.15.30
\r
43 for <multiple recipients>
\r
44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
45 Tue, 28 Oct 2014 02:15:30 -0700 (PDT)
\r
46 Received: from localhost (30000@localhost [local]);
\r
47 by localhost (OpenSMTPD) with ESMTPA id 3dc128ec;
\r
48 Tue, 28 Oct 2014 09:15:28 +0000 (UTC)
\r
49 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
\r
50 Subject: Re: [PATCH] cli: cast timeval fields to long for format
\r
51 In-Reply-To: <1414484246-19659-1-git-send-email-jani@nikula.org>
\r
52 References: <1414484246-19659-1-git-send-email-jani@nikula.org>
\r
53 User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1
\r
54 (x86_64-apple-darwin14.0.0)
\r
55 From: David Edmondson <dme@dme.org>
\r
56 Date: Tue, 28 Oct 2014 09:15:28 +0000
\r
57 Message-ID: <m2vbn41rnz.fsf@heart-of-gold.hh.sledj.net>
\r
59 Content-Type: text/plain
\r
60 X-BeenThere: notmuch@notmuchmail.org
\r
61 X-Mailman-Version: 2.1.13
\r
63 List-Id: "Use and development of the notmuch mail system."
\r
64 <notmuch.notmuchmail.org>
\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
68 List-Post: <mailto:notmuch@notmuchmail.org>
\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
71 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
72 X-List-Received-Date: Tue, 28 Oct 2014 09:15:42 -0000
\r
74 On Tue, Oct 28 2014, Jani Nikula wrote:
\r
75 > This hides platform differences between struct timeval field types.
\r
77 Good for me. Tested on Debian Testing and OS X 10.10 (which previously
\r
78 emitted a compiler warning).
\r
81 > notmuch-insert.c | 2 +-
\r
82 > 1 files changed, 1 insertions(+), 1 deletions(-)
\r
84 > diff --git a/notmuch-insert.c b/notmuch-insert.c
\r
85 > index 7074077..0d2d810 100644
\r
86 > --- a/notmuch-insert.c
\r
87 > +++ b/notmuch-insert.c
\r
88 > @@ -197,7 +197,7 @@ tempfilename (const void *ctx)
\r
89 > gettimeofday (&tv, NULL);
\r
91 > filename = talloc_asprintf (ctx, "%ld.M%ldP%d.%s",
\r
92 > - tv.tv_sec, tv.tv_usec, pid, hostname);
\r
93 > + (long) tv.tv_sec, (long) tv.tv_usec, pid, hostname);
\r
95 > fprintf (stderr, "Error: %s\n", strerror (ENOMEM));
\r
100 > _______________________________________________
\r
101 > notmuch mailing list
\r
102 > notmuch@notmuchmail.org
\r
103 > http://notmuchmail.org/mailman/listinfo/notmuch
\r