Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12746: boost::filesystem::canonical fails for network paths on windows/inconsistent behavior
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-11 03:09:56
#12746: boost::filesystem::canonical fails for network paths on
windows/inconsistent behavior
-------------------------------+------------------------
Reporter: Rob.Conde@⦠| Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.61.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------
Comment (by anonymous):
Trying to fix formatting:
if you do:
{{{
boost::system::error_code ec;
path myPath =
canonical(path("\\\\mynetworkmachine\\somepath\\somefile.txt"),ec);
}}}
ec.m_val will be 161
Additionally, it does not throw an exception when using the exception form
of the call.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12746#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC