Re: [exim] More incompatibel changes in integer handling sin…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Heiko Schlichting
Data:  
Para: exim-users
Tópicos Antigos: [exim] version 4.65 and integer handling
Assunto: Re: [exim] More incompatibel changes in integer handling since 4.64/4.65
Ray Gardener wrote:
> it seems as if "08" is how being interpreted (technically correctly) as
> a invalid octal integer rather than a decimal integer.


Seems so:

$ exim-4.62-1 -be
> ${if >{08}{7}{ja}{nein}}

ja

$ exim-4.65-1 -be
> ${if >{08}{7}{ja}{nein}}

Failed: invalid integer "08"

Hmm. Additionally the following could cause even more trouble as it does
produce a different result of the same expression and does NOT fail:

$ exim-4.62-1 -be
> ${if ={011}{11}{ja}{nein}}

ja

$ exim-4.65-1 -be
> ${if ={011}{11}{ja}{nein}}

nein

Not that easy so check non-trivial configuration files for such cases.
Looks like I have to downgrade exim on my servers. :-(

Heiko

Heiko Schlichting        | Freie Universität Berlin
heiko@???       | Zentraleinrichtung für Datenverarbeitung (ZEDAT)
Telefon +49 30 838-54327 | Fabeckstraße 32
Telefax +49 30 838454327 | 14195 Berlin