Christoph Zwerschke wrote:
Good idea. But your patch will stop calling print_result after the first file with an error. Is this by intend? Shouldn't it print all errors?
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? 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. Hamish
kidc-status-code.patch
Description: Binary data
------------------------------------------------------------------------- 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