From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-10-14 09:19:53
[2003-10-14] Vladimir Prus wrote:
>Rene Rivera wrote:
>> >So that everybody knows: Austin has send me a testcase and it turns out
>> >there's a bug in NORMALIZE_PATH builtin. When passed
>> > ../../foo/bar
>> >it does not simplify this path, whereas it should return "." I'm about
>> >this tomorrow.
>> I don't think so... That reduction is only valid if PWD == foo/bar.
>Oh... right! Thanks for catching this before I've spend a lot of time on
>fixing a non-bug. Gotta find some other way of avoiding duplicate
>loading of Jamfile.
Look at how I fixed that in the "import" rule on boost-base.jam (and
similarly in allyourbase.jam). Basically you should normalize to an absolute
path by prepending [ PWD ]. Then you can use the full path to key that it's
loaded or not.
-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq
Boost-Build 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