Re: [exim] 4.96 reduce not working

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] 4.96 reduce not working
On 22/09/2022 13:48, Jeremy Harris via Exim-users wrote:
> We could code to stack $value during each evaluation of the condition
> for the reduce.  That feels better.  I'll have a go.


Turn out that's not sufficient. The issue is not that
the inlisti-output $value mucks up reduce, but that it hides
the reduce's $value from the yes/no evaluations of the ${if.


> [ There's actually a worse bug floating around here.  I managed to
> trip an internal check on memory use, trying to invent an alternate
> using filter & listcount. ]


a3d3e7ef81 (just pushed) fixes this.

Given the fix, does

${listcount:${filter {a:p:p:l:e} {inlisti{$item}{ p:e:z }}}}

look plausible?
--
Cheers,
Jeremy