Skip to content
Snippets Groups Projects
Commit 2ab910a3 authored by Nikita Nemkin's avatar Nikita Nemkin
Browse files

SystemTools: Improve repeated slash handling in ConvertToUnixSlashes

Collapse repeated slashes, but preserve exactly two leading slashes.
POSIX reserves exactly two leading slashes for implementation-defined
behavior. On Windows and Cygwin they mark UNC paths.

Improve test coverage of ConvertToUnixSlashes.

Issue: cmake/cmake#9182
parent 936c606c
No related branches found
No related tags found
1 merge request!325SystemTools: Improve repeated slash handling in ConvertToUnixSlashes
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment