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:


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, kalb at, bjorn.karlsson at, gregod at, wekempf at