[exim-dev] [Bug 1154] -D expansion does not work on long ide…

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1154] -D expansion does not work on long identifiers
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1154




--- Comment #1 from Phil Pennock <pdp@???> 2011-09-18 11:51:52 ---
We're moving in the direction of getting rid of the -D command-line option, so
I'm not sure I'm going to care too much.

DISABLE_D_OPTION is here, WHITELIST_D_MACROS is a _transition_ mechanism.
Whether we do fix this or not, you should be moving in the direction of a shim
file, rather than -D, for future stability.

I see the buffer size limit in the source. So, we can either raise the size
limit, and document it, or document the current limit.

In addition, it would be good to get a stderr complaint if macro names are too
long; I suspect we won't cause too many problems in practice here, but this
would still need to be documented as a change in behaviour in the upgrade
notes.

Do you have a use-case for longer macro names? Otherwise, I'll document the
current limit.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email