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
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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
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
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
50 >> @@ -11,10 +12,44 @@ fi
\r
54 >> +if [ `uname -s` == SunOS ] ; then
\r
56 >> + # Using Solaris "nm", a defined symbol looks like this:
\r
59 > The POSIX / Bourne -comformant equality comparison is '='.
\r
61 Sigh, of course it is. Fixed.
\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
69 > Interesting that Solaris /bin/sh did not fail there...
\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
74 Similarly, the following line:
\r
76 demangled=$(demangle $sym)
\r
78 doesn't work on traditional sh. I've replaced $() with ``.
\r
80 > Hmm, gen-version-script doesn't have shebang... it is run like:
\r
82 > sh $(srcdir)/$(lib)/gen-version-script.sh $< $(libnotmuch_modules) > $@
\r
84 > in lib/Makefile.local -- taking sh fron PATH.
\r
86 I updated the first line from the #! invocation to a comment saying
\r
88 # This script is invoked via "sh .../gen-version-script.sh".
\r
90 Would a respun version of these patches help toward testing?
\r