#5014: canonicalizePath throws exception on paths that do not exist
----------------------------------+-----------------------------------------
Reporter: hesselink | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.2.1
Component: libraries/directory | Version: 7.0.2
Resolution: | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: Runtime crash |
----------------------------------+-----------------------------------------
Changes (by igloo):
* status: patch => new
* milestone: => 7.2.1
Comment:
Hmm, we can't really make it consistent; I think it would be better to
just document it as
{{{
The precise behaviour is that of the C realpath function (GetFullPathNameW
on Windows). In particular, the behaviour on paths that do not exist is
known to vary from platform to platform. Some platforms do not alter the
input, some do, and on some an exception will be thrown.
}}}
Perhaps making a library proposal would be best?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5014#comment:6>
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