Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66921 - trunk/tools/build/v2/engine/src
From: kbelco_at_[hidden]
Date: 2010-11-30 16:25:09


Author: noel_belcourt
Date: 2010-11-30 16:25:06 EST (Tue, 30 Nov 2010)
New Revision: 66921
URL: http://svn.boost.org/trac/boost/changeset/66921

Log:
Revert previous commit that changed how -l timeout is handled.

Decided that wasn't the best approach and am reverting the code
to the original source.

Text files modified:
   trunk/tools/build/v2/engine/src/jam.c | 7 ++-----
   1 files changed, 2 insertions(+), 5 deletions(-)

Modified: trunk/tools/build/v2/engine/src/jam.c
==============================================================================
--- trunk/tools/build/v2/engine/src/jam.c (original)
+++ trunk/tools/build/v2/engine/src/jam.c 2010-11-30 16:25:06 EST (Tue, 30 Nov 2010)
@@ -302,11 +302,8 @@
     if ( ( s = getoptval( optv, 'g', 0 ) ) )
         globs.newestfirst = 1;
 
- /* check for and use maximum value of timeout parameter */
- for ( n = 0; ( s = getoptval( optv, 'l', n ) ); ++n ) {
- int t = atoi( s );
- globs.timeout = globs.timeout < t ? t : globs.timeout;
- }
+ if ( ( s = getoptval( optv, 'l', 0 ) ) )
+ globs.timeout = atoi( s );
 
     /* Turn on/off debugging */
     for ( n = 0; ( s = getoptval( optv, 'd', n ) ); ++n )


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk