On Sunday 08 July 2007 12:12:04 pm Michael Somos wrote: > I am using the latest CVS version 0.9.24 and found that the exit > status is not getting set on error occurring in the compile and link. > > The problem comes from the function "tcc_output_file" in "tccelf.c" > which returns an int which is -1 if an error exists. When it's called > in "tcc.c" the return value is ignored. That code could be improved to > > ret = tcc_output_file(s, outfile) ? 1 : 0;
Sorry it took so long to apply this... Applied. Rob -- "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson. _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
