Re: [PATCH v4] nmbug: Add an 'init' command
[notmuch-archives.git] / 5b / 5412984e4a867cd8c1189f2c81a1c66db1c343
1 Return-Path: <david@tethera.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 2528C431FC0\r
6         for <notmuch@notmuchmail.org>; Sat, 10 May 2014 02:51:07 -0700 (PDT)\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 NIjIA6qBd9bz for <notmuch@notmuchmail.org>;\r
16         Sat, 10 May 2014 02:51:00 -0700 (PDT)\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
18         [87.98.215.224]) (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 12C0E431FBF\r
21         for <notmuch@notmuchmail.org>; Sat, 10 May 2014 02:51:00 -0700 (PDT)\r
22 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
23         4.72) (envelope-from <david@tethera.net>)\r
24         id 1Wj3uZ-0006pT-6S; Sat, 10 May 2014 09:49:43 +0000\r
25 Received: (nullmailer pid 10909 invoked by uid 1000); Sat, 10 May 2014\r
26         09:49:24 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: Charles Celerier <cceleri@cs.stanford.edu>, Notmuch Mail\r
29         <notmuch@notmuchmail.org>\r
30 Subject: Re: [PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.\r
31 In-Reply-To: <m2iopfoihw.fsf@jane.lan>\r
32 References: <1399395748-44920-1-git-send-email-cceleri@cs.stanford.edu>\r
33         <1399434615-28425-1-git-send-email-cceleri@cs.stanford.edu>\r
34         <1399434615-28425-2-git-send-email-cceleri@cs.stanford.edu>\r
35         <87d2fov2qj.fsf@maritornes.cs.unb.ca> <m2zjisnwie.fsf@jane.lan>\r
36         <87a9arvs9b.fsf@maritornes.cs.unb.ca> <m2iopfoihw.fsf@jane.lan>\r
37 User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1\r
38         (x86_64-pc-linux-gnu)\r
39 Date: Sat, 10 May 2014 18:49:24 +0900\r
40 Message-ID: <87lhua3qvv.fsf@maritornes.cs.unb.ca>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Sat, 10 May 2014 09:51:07 -0000\r
56 \r
57 Charles Celerier <cceleri@cs.stanford.edu> writes:\r
58 \r
59 > David Bremner <david@tethera.net> writes:\r
60 >\r
61 >     $ nm --version\r
62 >     GNU nm (GNU Binutils) 2.24\r
63 >     Copyright 2013 Free Software Foundation, Inc.\r
64 >     This program is free software; you may redistribute it under the terms of\r
65 >     the GNU General Public License version 3 or (at your option) any later version.\r
66 >     This program has absolutely no warranty.\r
67 >\r
68 > I'm not convinced the insertion of an underscore is nm's doing.\r
69 \r
70 OIC. right, nm is not the issue.\r
71 \r
72 > At this point, I'm not sure how to create a better version of this\r
73 > patch. Are we renaming functions in notmuch-private.h? Should we stick\r
74 > with objdump or switch to using nm?\r
75 \r
76 I'd go with renaming any functions that start with notmuch to start with\r
77 _notmuch.\r
78 \r
79 Since it seems neither nm nor objdump provides uniform output between\r
80 OS/X and Linux, there isn't an obvious advantage to switching to nm. Any\r
81 idea if objdump can be made to work (in this test) on OS/X ?\r
82 \r
83 d\r