#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  |  
------------------------------------------+---------------------------------
Changes (by igloo):

  * milestone:  => 7.0.2


Comment:

 I also got this once:
 {{{
 Prelude> System.Directory.canonicalizePath []
 *** Exception: getFullPathName: permission denied (The drive cannot find
 the sector requested.)
 }}}

 Interestingly, the behaviour in a compiled program is consistently:
 {{{
 e.exe: getFullPathName: invalid argument (The operation completed
 successfully.)
 }}}

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

Reply via email to