Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 66 / abf63284a183c205f17bb5b1820647e4b2d7f9
1 Return-Path: <bremner@tesseract.cs.unb.ca>\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 arlo.cworth.org (Postfix) with ESMTP id 7952D6DE01C2\r
6  for <notmuch@notmuchmail.org>; Mon,  6 Jun 2016 08:34:06 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.006\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.006 tagged_above=-999 required=5\r
12  tests=[AWL=-0.007, HEADER_FROM_DIFFERENT_DOMAINS=0.001]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id jdwItI-Oggen for <notmuch@notmuchmail.org>;\r
17  Mon,  6 Jun 2016 08:33:57 -0700 (PDT)\r
18 X-Greylist: delayed 2135 seconds by postgrey-1.35 at arlo;\r
19  Mon, 06 Jun 2016 08:33:57 PDT\r
20 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
21  by arlo.cworth.org (Postfix) with ESMTPS id 54DE86DE00DA\r
22  for <notmuch@notmuchmail.org>; Mon,  6 Jun 2016 08:33:57 -0700 (PDT)\r
23 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
24  (envelope-from <bremner@tesseract.cs.unb.ca>)\r
25  id 1b9vyi-0000Di-K2; Mon, 06 Jun 2016 10:58:08 -0400\r
26 Received: (nullmailer pid 3141 invoked by uid 1000);\r
27  Mon, 06 Jun 2016 14:58:17 -0000\r
28 From: David Bremner <david@tethera.net>\r
29 To: Richard Russon <rich@flatcap.org>, notmuch@notmuchmail.org\r
30 Subject: [PATCH] lib: fix definition of LIBNOTMUCH_CHECK_VERSION\r
31 Date: Mon,  6 Jun 2016 11:58:15 -0300\r
32 Message-Id: <1465225095-3098-1-git-send-email-david@tethera.net>\r
33 X-Mailer: git-send-email 2.1.4\r
34 In-Reply-To: <20160606124522.g2y2eazhhrwjsa4h@flatcap.org>\r
35 References: <20160606124522.g2y2eazhhrwjsa4h@flatcap.org>\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.20\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40  <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
42  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
47  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Mon, 06 Jun 2016 15:34:06 -0000\r
49 \r
50 Fix bug reported in id:20160606124522.g2y2eazhhrwjsa4h@flatcap.org\r
51 \r
52 Although the C99 standard 6.10 is a little non-obvious on this point,\r
53 the docs for e.g. gcc are unambiguous. And indeed in practice with the\r
54 extra space, this code fails\r
55 \r
56 int main(int argc, char **argv){\r
57   printf("%d\n",foo(1));\r
58 }\r
59 ---\r
60  lib/notmuch.h | 2 +-\r
61  1 file changed, 1 insertion(+), 1 deletion(-)\r
62 \r
63 diff --git a/lib/notmuch.h b/lib/notmuch.h\r
64 index 29713ae..d4a97cb 100644\r
65 --- a/lib/notmuch.h\r
66 +++ b/lib/notmuch.h\r
67 @@ -93,7 +93,7 @@ NOTMUCH_BEGIN_DECLS\r
68   * #endif\r
69   * @endcode\r
70   */\r
71 -#define LIBNOTMUCH_CHECK_VERSION (major, minor, micro)                 \\r
72 +#define LIBNOTMUCH_CHECK_VERSION(major, minor, micro)                  \\r
73      (LIBNOTMUCH_MAJOR_VERSION > (major) ||                                     \\r
74       (LIBNOTMUCH_MAJOR_VERSION == (major) && LIBNOTMUCH_MINOR_VERSION > (minor)) || \\r
75       (LIBNOTMUCH_MAJOR_VERSION == (major) && LIBNOTMUCH_MINOR_VERSION == (minor) && \\r
76 -- \r
77 2.1.4\r
78 \r