[Boost-bugs] [Boost C++ Libraries] #2952: Windows: path.glob doesn't accept paths at the root of the current drive

Subject: [Boost-bugs] [Boost C++ Libraries] #2952: Windows: path.glob doesn't accept paths at the root of the current drive
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-17 00:17:36


#2952: Windows: path.glob doesn't accept paths at the root of the current drive
-------------------------------------+--------------------------------------
 Reporter: John <jwbito_at_[hidden]> | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost.Build-M3 | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 Trying to provide a full pathname to boost-build caused [[BR]]
 error: Unknown target type EXE[[BR]]
 The problem occurs with[[BR]]

 {{{
 boost-build /temp/boost-build ;
 }}}

 Based on the debug output the leading slash of the pathname is removed in
 util/path.jam:
 {{{
 /temp/boost-build/util\path.jam:54:>>>>|>>>>|>>>>|>>>>| native-NT /temp
 /boost-build/tools/types/*.jam
 /temp/boost-build/util\path.jam:464:>>>>|>>>>|>>>>|>>>>|>> MATCH ^/?(.*) :
 /temp/boost-build/tools/types/*.jam
 /temp/boost-build/util\path.jam:464:>>>>|>>>>|>>>>|>>>>|>> local result =
 temp/boost-build/tools/types/*.jam
 /temp/boost-build/util\path.jam:465:>>>>|>>>>|>>>>|>>>>|>> regex.split
 temp/boost-build/tools/types/*.jam /
 }}}
 While the equivalent

 {{{
 boost-build c:/temp/boost-build ;
 }}}
 is processed successfully. Note that the boost-build kernel is loaded
 using the path specified in either case, up to the point of loading the
 contents of tools/types/.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2952>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC