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
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to