#3276: FilePath.addTrailingPathSeparator "" = "/"
----------------------------------+-----------------------------------------
    Reporter:  duncan             |        Owner:                  
        Type:  bug                |       Status:  new             
    Priority:  normal             |    Milestone:                  
   Component:  libraries (other)  |      Version:  6.10.2          
    Severity:  normal             |   Resolution:                  
    Keywords:                     |   Difficulty:  Unknown         
    Testcase:                     |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple   |  
----------------------------------+-----------------------------------------
Comment (by simonmar):

 "" isn't a valid `FilePath`, in the sense that passing it to an OS
 function expecting a `FilePath` will result in an error.  So I think that
 `System.FilePath` should never return "" as a directory name, and it
 should probably raise an error if "" is passed in too.

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