Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78282 - trunk/tools/build/v2/engine
From: steven_at_[hidden]
Date: 2012-04-30 14:11:36


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

Log:
Fix an infinite loop caused by creating a cycle in the strongly connected component links.
Text files modified:
   trunk/tools/build/v2/engine/make1.c | 2 +-
   1 files changed, 1 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:11:35 EDT (Mon, 30 Apr 2012)
@@ -1279,7 +1279,7 @@
 
 static TARGET * make1findcycle( TARGET * t )
 {
- TARGET * result = make1findcycle_impl( t, t );
+ TARGET * result = make1findcycle_impl( t, target_scc( t ) );
     make1findcycle_cleanup( t );
     return result;
 }


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