#2034: In FilePath, current directory should be ".", not ""
----------------------------------+-----------------------------------------
    Reporter:  igloo              |       Owner:  neil       
        Type:  bug                |      Status:  new        
    Priority:  normal             |   Milestone:  6.10 branch
   Component:  libraries (other)  |     Version:  6.8.1      
    Severity:  normal             |    Keywords:             
  Difficulty:  Unknown            |    Testcase:             
Architecture:  Unknown            |          Os:  Unknown    
----------------------------------+-----------------------------------------
 !FilePath's "current directory" should be ".", not "". This affects a
 number of commands, e.g.
 {{{
 normalise "."       should be "."         not ""
 "." </> "foo"       should be "foo"       not "./foo"
 splitFileName "foo" should be (".","foo") not ("","foo")
 }}}
 Some discussion is in this thread:
 http://www.haskell.org/pipermail/libraries/2007-December/008743.html

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