Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78283 - trunk/tools/build/v2/engine
From: steven_at_[hidden]
Date: 2012-04-30 14:21:48


Author: steven_watanabe
Date: 2012-04-30 14:21:47 EDT (Mon, 30 Apr 2012)
New Revision: 78283
URL: http://svn.boost.org/trac/boost/changeset/78283

Log:
Avoid a self-cycle in scc_root.
Text files modified:
   trunk/tools/build/v2/engine/make1.c | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/engine/make1.c
==============================================================================
--- trunk/tools/build/v2/engine/make1.c (original)
+++ trunk/tools/build/v2/engine/make1.c 2012-04-30 14:21:47 EDT (Mon, 30 Apr 2012)
@@ -1232,7 +1232,8 @@
             ++scc_root->asynccnt;
         }
     }
- t->scc_root = scc_root;
+ if ( t != scc_root )
+ t->scc_root = scc_root;
 }
 
 


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