Re: [Boost-bugs] [Boost C++ Libraries] #12904: canonical fails for relative symbolic link on NTFS

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12904: canonical fails for relative symbolic link on NTFS
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-14 16:36:46


#12904: canonical fails for relative symbolic link on NTFS
-------------------------+-------------------------------------------------
  Reporter: Matthias@… | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be | Component: filesystem
  Determined | Severity: Problem
   Version: Boost | Keywords: filesystem canonical symbolic link
  1.63.0 | symlink assert
Resolution: |
-------------------------+-------------------------------------------------

Comment (by Matthias@…):

 Additional information

 In {{{operations.cpp, line 855}}} it declares {{{link}}} and creates it by
 calling {{{detail::read_symlink(result, ec)}}}
 {{{result}}} is {{{"C:"}}} in my case, {{{ec}}} is {{{nullptr}}}
 {{{link}}} will correctly be created as {{{"x64.Debug"}}}
 Then it calls {{{result.remove_filename();}}} which leads to an empty
 {{{result}}} in my case and that's the reason why {{{path
 new_source(result)}}} also gives an empty {{{new_source}}} (in {{{line
 868}}} - which looks wrong to me...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12904#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-03-14 16:40:24 UTC