Re: [exim-dev] patch for named acl variables

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: exim-dev
Betreff: Re: [exim-dev] patch for named acl variables
On Thu, 21 Sep 2006, Jakob Hirsch wrote:

> Ok, runs fine, but something else came up. In previous versions, when
> comparing integers, an empty string was obviously equal to zero:
>
> > ${if ={0}{} {yessir} {no go}}
> yessir
>
> but now it raises an expansion failure:
>
> > ${if ={0}{} {yessir} {no go}}
> Failed: integer expected but "" found


I'm surprised it worked before. My reaction to this is that I have
accidentally fixed a bug. The manual says "the two strings must take the
form of optionally signed decimal integers..."

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book