From 9b4768fabd99041ceb2e3958814127df4caf2a79 Mon Sep 17 00:00:00 2001 From: Philip Hazel <ph10@hermes.cam.ac.uk> Date: Tue, 7 Jun 2005 10:41:26 +0000 Subject: Fix ${def: bug which treated "0" as false. Also diagnose syntax error of unexpected characters after the variable name. --- doc/doc-txt/ChangeLog | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc/doc-txt') diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 2ff3afb40..fb3c3124b 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.148 2005/06/06 19:23:03 tom Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.149 2005/06/07 10:41:26 ph10 Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -87,6 +87,15 @@ TK/07 MBOX spool code: Add X-Envelope-From: and X-Envelope-To: headers. message has one envelope recipient. SA can use these headers, obviously out-of-the-box. Patch from Alex Miller. +PH/08 The ${def test on a variable was returning false if the variable's + value was "0", contrary to what the specification has always said! + The result should be true unless the variable is empty. + +PH/09 The syntax error of a character other than { following "${if + def:variable_name" (after optional whitespace) was not being diagnosed. + An expansion such as ${if def:sender_ident:{xxx}{yyy}} in which an + accidental colon was present, for example, could give incorrect results. + Exim version 4.51 ----------------- -- cgit v1.2.3