Re: [PATCH] lib: Precede all function names in notmuch-private.h with an underscore.

Subject: Re: [PATCH] lib: Precede all function names in notmuch-private.h with an underscore.

Date: Mon, 12 May 2014 19:54:28 +0900

To: Charles Celerier, notmuch@notmuchmail.org

Cc:

From: David Bremner


Charles Celerier <cceleri@cs.stanford.edu> writes:

> An underscore should precede every function name in
> lib/notmuch-private.h. This was not true and was noted by the failure of
> test T360-symbol-hiding on Mac OS/X. This patch inserts an underscore
> before each function name in lib/notmuch-private.h where the underscore
> was missing and renames functions appropriately where they are used.

Originally I thought this was uneccesarily intrusive, but on a second
look I see that there is only one symbol changed that doesn't start with
_notmuch, so I guess for consistency it's fine.

I'm thinking about a 0.18.1 point release for build and portability
fixes; I do think this is a bit too much change for that (especially
since it doesn't actually fix the symbol hiding test (or more precisely,
your fix for OS/X breaks the linux test).

d



Thread: