Hamish Lawson wrote:
> It should in fact show all errors. Each file is processed and the
> results are anded together, only after which is the error status code
> returned if there hasn't been overall success. Did it do otherwise for
> you?

Yes. The problem was the short-circuit logic for "and". As soon as 
succeeded was false, print_result was not called any more.

> I realised I was asking print_result  to do more than its remit and so
> I've moved the code for determining whether a file succeeded into its
> own function. Revised patch attached.

That's better. I'll check it in.

-- Chris

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to