mirror of
https://github.com/boostorg/build.git
synced 2026-02-13 00:12:11 +00:00
Handle paths beginning with '\' on NT.
[SVN r75887]
This commit is contained in:
@@ -293,6 +293,12 @@ void ShortPathToLongPath( char * short_path, string * out )
|
||||
return;
|
||||
}
|
||||
|
||||
if ( short_path[0] == '\\' && short_path[1] == '\0')
|
||||
{
|
||||
string_push_back( out, '\\' );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( short_path[1] == ':' &&
|
||||
( short_path[2] == '\0' ||
|
||||
( short_path[2] == '\\' && short_path[3] == '\0' ) ) )
|
||||
|
||||
Reference in New Issue
Block a user