[GHC] #3276: FilePath.addTrailingPathSeparator "" = "/"

GHC trac at galois.com
Tue Jun 9 12:29:34 EDT 2009


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

 Sure, when it returns the current directory as a filepath that should be
 ".", but when I (or actually the end user) use "" as an input that's still
 the current directory and clearly not the root directory.

 Or are we saying that "" as an input should be an error?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3276#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list