Hamish Lawson wrote: > kidc returns a successful status code of 0 even when a source template > has errors. If this happens from within a makefile it won't therefore > exhibit the desirable behaviour of terminating the make run. I've > attached a patch to make kidc more make-friendly by returning a status > code of 65 (as suggested by /usr/include/sysexits.h) whenever any of > the sources have errors.
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? -- Christoph ------------------------------------------------------------------------- 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