Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-05-02 14:41:21

On 2002-05-02 at 02:21 PM, david.abrahams_at_[hidden] (David Abrahams) wrote:

>----- Original Message -----
>From: "Rene Rivera" <grafik666_at_[hidden]>
>> This is one of the things that Vladimir pointed out that I need to
>fix. If
>> removing it for now works for you great :-)
>I had to make a bunch of other changes. We are now almost in a working
>state, but I will leave the rest to you if you can do something tonight.
>The current output is attached.
>> Now that you pointed out we
>> should normalize all paths to the os.path format I'll take that into
>> when fixing this.
>Please note, that's NOT what I meant!
>What I meant was that os.path forces its users to pass "normalized
>paths" to certain functions in order to get them to work properly, and I
>think that's a mistake. It forces users to be aware of path
>normalization at all times and to constantly switch between 'normalized'
>and 'native' representations.

Ah, I understand now :-)

>* os.path.join seems to do some work to remove redundant .. elements,
>but other functions do not. Shouldn't we have something like
>simplify-path-tokens in this module? I am worried that .. shows up in
>some paths that are used as, e.g. Jamfile identifiers, and that we'll
>fail to recognize the equivalence of different Jamfiles and load them
>multiple times.

Which was the goal of that code you pointed out. To normalize Jamfile paths
to abosulte ones so to guarantee that they Jamfiles don't get loaded again.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at