[exim-dev] [Bug 3024] string expansion error in function red…

Top Page
Delete this message
Reply to this message
Author: Exim Bugzilla
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 3024] string expansion error in function reduce combined with inlisti function
https://bugs.exim.org/show_bug.cgi?id=3024

--- Comment #5 from Jeremy Harris <jgh146exb@???> ---
I'm not clear that "trumping" to subvert the normal nesting would be good,
at least as default behaviour. The problem really is the use of this one
variable for side-effect results (here, from inlisti) and for the working-store
(here, in reduce).

${reduce...} is documented to use $value; we could only change it by
adding optional behaviour, which also means syntax. At least until
someone designs Exim version 5, we're stuck with it.

"Before" would be the caller of ${reduce...}, which could be a textually
enclosing expansion, an acl condition or modifier, or an option.
It is not (either of) the inner expansions.
This seemed obvious to me, but since you query it perhaps it is not.

On the point of "some operators" - I didn't see any other expansion-conditions
where it made sense. If I missed some, please say.

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/