Re: [exim] More integer annoyances in 4.65

Top Page

Reply to this message
Author: Exim Mailing List
Date:  
To: exim-users
Subject: Re: [exim] More integer annoyances in 4.65
On Wed, Jan 03, 2007 at 07:01:24PM +0100, B. Johannessen wrote:

> Seriously though, I think the best solution to this is to bring back the
> previous behavior. There are clearly a lot of configurations in the wild
> that depends on this (I probably have some myself), and a minor
> dot-release is not the right time for such a change. Logging a warning
> would probably also be appropriate.


As long as the warning is only shown when expansion debugging is
enabled, that sounds like a reasonable solution.

Casting an empty string to zero when forced into a numeric context is
a very reasonable, and precedented, construct used in many other
scripting languages. But if someone enables expansion debugging, it
seems reasonable to show some sort of warning about it.

--
Dean Brooks
dean@???