-- understand /cygdrive paths.)
cygdrivePrefix = [pathSeparator] ++ "/cygdrive/" ++ [pathSeparator]
xltCygdrive path = case maybePrefixMatch cygdrivePrefix path of
- Just (drive:sep:xs))
+ Just (drive:sep:xs)
| isPathSeparator sep -> drive:':':pathSeparator:xs
_ -> path