[Sheldon Hearn]
> BTW, regarding the last changed line in the patch, does a for loop
> perform its test condition _before_ moving into the block for the
> first time? This is a C question, not an exim question. :-)
My copy of "The C Programming Language", second edition, section 3.5,
states that
The `for' statement
for (expr1; expr2; expr3)
statement
is equivalent to
expr1;
while (expr2) {
statement
expr3;
}
except for the behaviour of `continue'.
so yes, `expr2' is _always_ tested before `statement' is executed,
including the very first time.
--
Harald
--
*** Exim information can be found at
http://www.exim.org/ ***