[GHC] #712: getDirectoryContents: failed (No error)

GHC trac at galois.com
Fri Mar 3 05:33:12 EST 2006


#712: getDirectoryContents: failed (No error)
-------------------------+--------------------------------------------------
    Reporter:  simonmar  |        Owner:         
        Type:  bug       |       Status:  new    
    Priority:  normal    |    Milestone:  6.4.2  
   Component:  Compiler  |      Version:  6.4.1  
    Severity:  normal    |     Keywords:         
          Os:  Windows   |   Difficulty:  Unknown
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Reported on ghc-bugs by martin.boeker at uniklinik-freiburg.de:

 this error has been reported before and was fixed in ghc 6.4.1 but has
 been revived in ghc 6.4.2:

 {{{
 test3.exe: .: getDirectoryContents: failed (No error)

 module Main where

 import System.Directory

 main =    do s <- getDirectoryContents "."
            putStr (concat s)
 }}}

 This works fine for ghc 6.4.1 bld1. The error is encountered in 6.4.2
 snapshots from Feb. 25 and newer (elder ones have not tested), and the
 same snapshots with the MinGW files from afore mentioned ghc 6.4.1 (it's
 not the MinGW).

 My system is: Cygwin (WinXP) and ghc 6.4.1 bld1 or 6.4.2 (Cajal works
 better).

 I would like to add a wish: could we have a native Cygwin port?


 ----------------------

 See also, previous incarnation of this bug (perhaps):

 http://www.haskell.org//pipermail/glasgow-haskell-bugs/2005-
 July/005338.html

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


More information about the Glasgow-haskell-bugs mailing list