mirror of
https://github.com/boostorg/filesystem.git
synced 2026-01-19 04:12:09 +00:00
boost-1.86.0
When weakly_canonical was called with a relative input path, the operation would test path elements for existence, which meant resolving them relative to the current path instead of the base path specified in the call. To mitigate this, make the source path absolute using the specified base path. As a side effect, this fixes incorrect path produced on Windows if the input path started with "..". The algorithm was unable to remove the last element of the head path because there was none. As a result, the remaining elements of the input path were appended to the full base path by canonical. Fixes to https://github.com/boostorg/filesystem/issues/311.
Boost.Filesystem
Boost.Filesystem, part of collection of the Boost C++ Libraries, provides facilities to manipulate files and directories, and the paths that identify them.
Directories
- doc - Documentation sources
- include - Interface headers of Boost.Filesystem
- src - Compilable source files of Boost.Filesystem
- test - Boost.Filesystem unit tests
- example - Boost.Filesystem usage examples
More information
- Documentation
- Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
Build status
| Branch | GitHub Actions | AppVeyor | Test Matrix | Dependencies |
|---|---|---|---|---|
master |
||||
develop |
License
Distributed under the Boost Software License, Version 1.0.
Description
Languages
C++
98.4%
CMake
1.5%