Boost logo

Boost Testing :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-09-24 14:19:37


On Sep 24, 2007, at 9:25 AM, Caleb Epstein wrote:

> 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)

Nothing. Thanks for pointing out the typo.

I'll fix both shortly.

-- Noel


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