Skip to content
  • Aleix's avatar
    cmake-server: Do not try watching subdirectories with empty names · 7bad99b0
    Aleix authored and Brad King's avatar Brad King committed
    `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
    7bad99b0