getDirectoryContents: failed (No error)

Martin Boeker martin.boeker at uniklinik-freiburg.de
Tue Feb 28 19:41:02 EST 2006


Hello,

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?

Thank you

Martin

-- 
_________________________________________________________________________

  Universitätsklinikum Freiburg                    Dr. med. Martin Boeker
  Abteilung Medizinische Informatik              Tel.: +49 (761) 203 6700
  Stefan-Meier-Str. 26                           Mob.: +49 (170) 234 1080
  79104 Freiburg i. Br.                          FAX : +49 (761) 203 6711
_________________________________________________________________________




More information about the Glasgow-haskell-bugs mailing list