[GHC] #3747: getDirectoryContents yields wrong results

GHC trac at galois.com
Fri Dec 11 20:03:21 EST 2009


#3747: getDirectoryContents yields wrong results
------------------------------------------+---------------------------------
  Reporter:  Meddix                       |          Owner:         
      Type:  bug                          |         Status:  closed 
  Priority:  normal                       |      Milestone:         
 Component:  libraries/directory          |        Version:  6.10.4 
Resolution:  invalid                      |       Keywords:         
Difficulty:                               |             Os:  Windows
  Testcase:  getDirectoryContents "c:"    |   Architecture:  x86    
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by duncan):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 As Malcolm says, this is the correct behaviour on Windows. We may think
 that Windows file path behaviour is bonkers, but that's what it is and we
 can't change it (we would not want to be inconsistent with it).

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


More information about the Glasgow-haskell-bugs mailing list