Boost logo

Boost :

Subject: Re: [boost] [release] 1.66.0 closing for beta tomorrow
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2017-11-12 04:27:45


On Sat, Nov 11, 2017 at 10:06 PM, Peter Dimov via Boost <
boost_at_[hidden]> wrote:

> James E. King, III wrote:
>
> Perhaps --abbreviate-paths should be the default behavior for bjam on
>> Windows now, given the default options have broken more than one
>> environment (this is not the first email with this subject in the last
>> month).
>>
>
> Or we could make it check whether the path exceeds PATH_MAX and
> automatically abbreviate or hash it. Here for instance:
>
> https://github.com/boostorg/build/blob/develop/src/build/pro
> perty-set.jam#L515
>
> we could make hash-maybe hash if the length of $(path) exceeds PATH_MAX.
>

Problem is that the path max depends on context. For some contexts it's the
short 256, or is it 6xx, and some others it's 2K, and yet others it's 32K,
and depending on the OS version and some magic registry settings it could
be unlimited.

PS. I "love" Windows file name handling.

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk