Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / f1 / e3a2b1c72fa205cc6674f451701550d7986b92
1 Return-Path: <tomi.ollila@iki.fi>\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 5CBCB431FB6\r
6         for <notmuch@notmuchmail.org>; Tue,  6 Nov 2012 08:58:50 -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 UhhF-NFAErTM for <notmuch@notmuchmail.org>;\r
16         Tue,  6 Nov 2012 08:58:50 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id CC3B7431FAE\r
19         for <notmuch@notmuchmail.org>; Tue,  6 Nov 2012 08:58:49 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id BD917100094;\r
22         Tue,  6 Nov 2012 18:58:50 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: Blake Jones <blakej@foo.net>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH v2 07/10] gen-version-script: parse Solaris "nm" output\r
26         (Solaris support)\r
27 In-Reply-To: <1352142123-18286-8-git-send-email-blakej@foo.net>\r
28 References: <1352142123-18286-1-git-send-email-blakej@foo.net>\r
29         <1352142123-18286-8-git-send-email-blakej@foo.net>\r
30 User-Agent: Notmuch/0.14+81~gb8371cd (http://notmuchmail.org) Emacs/24.2.1\r
31         (x86_64-unknown-linux-gnu)\r
32 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
33         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
34         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
35 Date: Tue, 06 Nov 2012 18:58:50 +0200\r
36 Message-ID: <m2sj8mzn05.fsf@guru.guru-group.fi>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Tue, 06 Nov 2012 16:58:50 -0000\r
52 \r
53 On Mon, Nov 05 2012, Blake Jones <blakej@foo.net> wrote:\r
54 \r
55 > The output of "nm" on Solaris is substantially different from that on\r
56 > Linux, and the current version of gen-version-script is tied to the\r
57 > Linux "nm" output.  This patch separates the parts of "nm" processing\r
58 > which are dependent on the output format into a couple shell functions,\r
59 > and makes another shell function to use the appropriate version of\r
60 > "c++filt" to demangle symbols.  It also modifies lib/Makefile.local\r
61 > to pass the generated symbol table correctly to the Solaris linker.\r
62 \r
63 \r
64 // stuff deleted\r
65 \r
66 > index 76670d5..d7d96da 100644\r
67 > --- a/lib/gen-version-script.sh\r
68 > +++ b/lib/gen-version-script.sh\r
69 > @@ -1,3 +1,4 @@\r
70 > +#!/bin/sh\r
71 >  \r
72 >  # we go through a bit of work to get the unmangled names of the\r
73 >  # typeinfo symbols because of\r
74 > @@ -11,10 +12,44 @@ fi\r
75 >  HEADER=$1\r
76 >  shift\r
77 >  \r
78 > +if [ `uname -s` == SunOS ] ; then\r
79 > +    #\r
80 > +    # Using Solaris "nm", a defined symbol looks like this:\r
81 > +    #\r
82 \r
83 The POSIX / Bourne -comformant equality comparison is '='. \r
84 \r
85 e.g.\r
86 \r
87 $ ./heirloom-sh/sh -c ' [ a == b ] || echo x'\r
88 ./heirloom-sh/sh: test: unknown operator ==\r
89 zsh: exit 1     ./heirloom-sh/sh -c ' [ a == b ] || echo x'\r
90 \r
91 Interesting that Solaris /bin/sh did not fail there...\r
92 \r
93 Hmm, gen-version-script doesn't have shebang... it is run like:\r
94 \r
95 sh $(srcdir)/$(lib)/gen-version-script.sh $< $(libnotmuch_modules) > $@\r
96 \r
97 in lib/Makefile.local -- taking sh fron PATH.\r
98 \r
99 \r
100 Tomi\r