Re: [PATCH v1] emacs: Allow part preferences to depend on message content.
[notmuch-archives.git] / e7 / edbb67529dd124a790ea2eee252bfafedcf355
1 Return-Path: <blakej@foo.net>\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 47BC3431FB6\r
6         for <notmuch@notmuchmail.org>; Wed,  7 Nov 2012 22:29:19 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 VDqIFEl6R7m8 for <notmuch@notmuchmail.org>;\r
16         Wed,  7 Nov 2012 22:29:18 -0800 (PST)\r
17 Received: from foo.net (70-36-235-136.dsl.static.sonic.net [70.36.235.136])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id AF088431FAE\r
21         for <notmuch@notmuchmail.org>; Wed,  7 Nov 2012 22:29:18 -0800 (PST)\r
22 Received: from foo.net (localhost [127.0.0.1])\r
23         by foo.net (8.14.5+Sun/8.14.5) with ESMTP id qA86TCsD024583;\r
24         Wed, 7 Nov 2012 22:29:12 -0800 (PST)\r
25 To: Tomi Ollila <tomi.ollila@iki.fi>\r
26 Subject: Re: [PATCH v2 07/10] gen-version-script: parse Solaris "nm" output\r
27         (Solaris support) \r
28 In-Reply-To: Your message of "Tue, 06 Nov 2012 18:58:50 +0200."\r
29         <m2sj8mzn05.fsf@guru.guru-group.fi> \r
30 Date: Wed, 07 Nov 2012 22:29:12 -0800\r
31 Message-ID: <24582.1352356152@foo.net>\r
32 From: Blake Jones <blakej@foo.net>\r
33 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2\r
34         (foo.net [127.0.0.1]); Wed, 07 Nov 2012 22:29:12 -0800 (PST)\r
35 Cc: notmuch@notmuchmail.org\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\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: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Thu, 08 Nov 2012 06:29:20 -0000\r
49 \r
50 >> @@ -11,10 +12,44 @@ fi\r
51 >>  HEADER=$1\r
52 >>  shift\r
53 >>  \r
54 >> +if [ `uname -s` == SunOS ] ; then\r
55 >> +    #\r
56 >> +    # Using Solaris "nm", a defined symbol looks like this:\r
57 >> +    #\r
58\r
59 > The POSIX / Bourne -comformant equality comparison is '='. \r
60 \r
61 Sigh, of course it is.  Fixed.\r
62 \r
63 > e.g.\r
64\r
65 > $ ./heirloom-sh/sh -c ' [ a == b ] || echo x'\r
66 > ./heirloom-sh/sh: test: unknown operator ==\r
67 > zsh: exit 1     ./heirloom-sh/sh -c ' [ a == b ] || echo x'\r
68\r
69 > Interesting that Solaris /bin/sh did not fail there...\r
70 \r
71 I was running on Solaris 11.1, which uses ksh93 as its /bin/sh.  You're\r
72 absolutely right that Solaris 10 would fall over, though.\r
73 \r
74 Similarly, the following line:\r
75 \r
76     demangled=$(demangle $sym)\r
77 \r
78 doesn't work on traditional sh.  I've replaced $() with ``.\r
79 \r
80 > Hmm, gen-version-script doesn't have shebang... it is run like:\r
81\r
82 > sh $(srcdir)/$(lib)/gen-version-script.sh $< $(libnotmuch_modules) > $@\r
83\r
84 > in lib/Makefile.local -- taking sh fron PATH.\r
85 \r
86 I updated the first line from the #! invocation to a comment saying\r
87 \r
88     # This script is invoked via "sh .../gen-version-script.sh".\r
89 \r
90 Would a respun version of these patches help toward testing?\r
91 \r
92 Blake\r