diff options
| author | Aleix Pol <aleixpol@kde.org> | 2017-01-11 18:08:04 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2017-01-11 18:48:41 (GMT) |
| commit | 7bad99b0d3fb50853937d99cd68eb340a0975156 (patch) | |
| tree | 90bf28e364bd35af2d7ba567cf390c07badd130d /Source/cmAddCustomCommandCommand.cxx | |
| parent | 68d13665e023f6ccb51ba0375cabd27e492db483 (diff) | |
| download | CMake-7bad99b0d3fb50853937d99cd68eb340a0975156.zip CMake-7bad99b0d3fb50853937d99cd68eb340a0975156.tar.gz CMake-7bad99b0d3fb50853937d99cd68eb340a0975156.tar.bz2 | |
cmake-server: Do not try watching subdirectories with empty names
`cmsys::SystemTools::SplitPath` will return empty segments on paths
where there's duplicaded consequent slashes (e.g. `/home/dir/my//stuff`).
This makes the cmFileWatcher choke. Teach cmFileMonitor to skip these
empty segments.
Closes: #16531
Diffstat (limited to 'Source/cmAddCustomCommandCommand.cxx')
0 files changed, 0 insertions, 0 deletions
