Boost logo

Boost Users :

From: gga (ggarra13_at_[hidden])
Date: 2020-04-29 12:25:00


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net