Boost logo

Boost Testing :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2007-09-24 11:25:42


On 9/20/07, K. Noel Belcourt <kbelco_at_[hidden]> wrote:
> [kbelco_at_sahp7645 src]$ svn diff output.c
> Index: output.c
> ===================================================================
> --- output.c (revision 39399)
> +++ output.c (working copy)
> @@ -52,6 +53,14 @@
> {
> fputs(command,globs.cmdout);
> }
> +
> + /* if non-zero timeout and zero start time, process expired */
> + if (globs.timeout && !start_time)
> + {
> + fputc(globs.timeout, bjam_out);
> + fputs(" second time limit exceeded", bjam_out);

That 'fputc' doesn't look right. Thats going write the timeout value
as an unsigned char. Whats wrong with:

   fprintf (bjam_out, "%d second time limit exeeeded", globs.timeout)

?

-- 
Caleb Epstein

Boost-testing list run by mbergal at meta-comm.com