Windows boost::filesystem canonical on NTFS network drives mounted in a directory

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Windows boost::filesystem canonical on NTFS network drives mounted in a directory

Boost - Users mailing list
When on Windows, if you use boost::filesystem::canonical() to resolve a
NTFS network drive mounted in a directory, the result is what I see as a
useless result.  For example:

C:\ntfs_mount\other\dirs\file

boost::filesystem returns:

C:\?VolumeXXX-XXX-XXX-XXX\ other\dirs\file

This volume notation is useless as it cannot be passed to any file
function.  Also, the path is divided by a space to other\dirs.  It would
be better if canonical does not mess with the network drive at all and
returns the directory as is, like boost::filesystem::absolute() does.

--
Gonzalo Garramuño

_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users