#4480: System.Directory.canonicalizePath gives bad result ------------------------------------------+--------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.0.2 Component: libraries/directory | Version: 7.1 Resolution: | Keywords: Testcase: | Blockedby: Difficulty: | Os: Windows Blocking: | Architecture: Unknown/Multiple Failure: Incorrect result at runtime | ------------------------------------------+---------------------------------
Comment(by simonmar): See also #4113. I think this works on later versions of Windows (maybe Vista+). It looks like earlier versions of Windows just return 0 from `GetFullPathName()` but without setting `GetLastError()`. We already have a test, namely `T4113`, but it is currently in `lib/IO` (should be in the directory package instead). -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4480#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs