Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-01-31 19:53:19


   Hi.

>> On the other hand I tried the following:
>>
>> bjam --build-dir=\aaa\bbb --toolset=msvc stage
>>
>> and it seemed to ignore the leading \ in the path.

   I took a look at this now and there was a bug in path.native-NT()
causing it not to construct absolute paths without an explicitly
specified drive letter correctly on Windows.

   I committed a patch fixing this and now --build-dir=\aaa\bbb gets
interpreted as expected.

   I still think it should not silently misinterpret invalid paths like
\\\\\aaa\\\\\bbb but that's a separate story for a separate commit. :-)

Commit comment:
---------------
Corrected outputting native Windows paths so that it works correctly for
absolute paths without the drive letter being explicitly specified, e.g.
\aaa\bbb or /aaa/bbb.

Changeset link:
---------------
http://svn.boost.org/trac/boost/changeset/43045

   Hope this helps.

   Best regards,
     Jurko Gospodnetić


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