Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Steven Weiss (fotzor)
Assigned to: Beman Dawes (beman_dawes)
Summary: patch for boost::filesystem
when you try to get the branch path of this
under windows the branch path should be "c:\\some_dir".
what is returned instead is "c:" which isn't correct.
so here's the fix:
std::string::size_type leaf_pos( const std::string & str,
std::string::size_type end_pos ) // end_pos is
// return 0 if str itself is leaf (or empty)
if ( end_pos && str[end_pos-1] == '/' ) return