diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs index eb27e034..fa0b521d 100644 --- a/System/FilePath/Internal.hs +++ b/System/FilePath/Internal.hs @@ -623,6 +623,7 @@ combineAlways a b | null a = b -- -- > Posix: "/directory" "file.ext" == "/directory/file.ext" -- > Windows: "/directory" "file.ext" == "/directory\\file.ext" +-- > "directory" "/file.ext" == "/file.ext" -- > Valid x => combine (takeDirectory x) (takeFileName x) `equalFilePath` x -- -- Combined: