[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36

John Goerzen jgoerzen at complete.org
Fri Apr 23 14:59:54 UTC 2010


The following commit has been merged in the master branch:
commit 04920e4869a2a68547c9620472027d7a41c279fe
Author: John Goerzen <jgoerzen at complete.org>
Date:   Fri Jul 22 20:20:32 2005 +0100

    Enable stat on Windows thanks to WindowsCompat

diff --git a/MissingH/IO/HVFS.hs b/MissingH/IO/HVFS.hs
index a58ac11..9e9c1c7 100644
--- a/MissingH/IO/HVFS.hs
+++ b/MissingH/IO/HVFS.hs
@@ -298,11 +298,7 @@ instance HVFS SystemFS where
     vRenameDirectory _ = renameDirectory
     vRemoveFile _ = removeFile
     vRenameFile _ = renameFile
-#ifndef mingw32_HOST_OS
     vGetFileStatus _ fp = getFileStatus fp >>= return . HVFSStatEncap
-#else
-    vGetFileStatus _ _ = fail "Getting file status not supported on Windows"
-#endif
 #ifndef mingw32_HOST_OS
     vGetSymbolicLinkStatus _ fp = getSymbolicLinkStatus fp >>= return . HVFSStatEncap
 #else

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list