#5014: canonicalizePath throws exception on paths that do not exist
------------------------------------+---------------------------------------
Reporter: hesselink | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: libraries/directory | Version: 7.0.2
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Runtime crash
------------------------------------+---------------------------------------
Comment(by batterseapower):
It's possible to construct examples where this revised implementation
gives a poor canonicalization. However, I would argue that this is fine
because it's only meant to be a best-effort process, anyway. If the file
is missing, that best effort is just a bit weaker than usual - a condition
I do not think justifies throwing an exception.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5014#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs