Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80021 - trunk/tools/build/v2/build
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-14 00:54:06


Author: jurko
Date: 2012-08-14 00:54:05 EDT (Tue, 14 Aug 2012)
New Revision: 80021
URL: http://svn.boost.org/trac/boost/changeset/80021

Log:
Corrected a slight Boost Build project.module-name() rule defect causing it to not reuse its cached result value in some cases.
Text files modified:
   trunk/tools/build/v2/build/project.jam | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/build/project.jam
==============================================================================
--- trunk/tools/build/v2/build/project.jam (original)
+++ trunk/tools/build/v2/build/project.jam 2012-08-14 00:54:05 EDT (Tue, 14 Aug 2012)
@@ -165,8 +165,8 @@
     {
         # Root the path, so that locations are always unambiguous. Without this,
         # we can not decide if '../../exe/program1' and '.' are the same paths.
- jamfile-location = [ path.root $(jamfile-location) [ path.pwd ] ] ;
- .module.$(jamfile-location) = Jamfile<$(jamfile-location)> ;
+ local normalized = [ path.root $(jamfile-location) [ path.pwd ] ] ;
+ .module.$(jamfile-location) = Jamfile<$(normalized)> ;
     }
     return $(.module.$(jamfile-location)) ;
 }


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