#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 simonmar):

 I'm not sure about this.  For example, if `./a` exists and `./b` does not,
 then `canonicalizePath "a/../b"` will currently fail, but your patch would
 make it return `<pwd>/a/../b`.  This is inconsistent with
 `canonicalizePath "a/.."` which will return simply `<pwd>`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5014#comment:3>
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

Reply via email to