On Sat, Nov 11, 2017 at 10:06 PM, Peter Dimov via Boost < boost@lists.boost.org> 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