[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 15:06:41 UTC 2010


The following commit has been merged in the master branch:
commit 6ef59ef114c4e904c334b0df262882fd2676ad86
Author: John Goerzen <jgoerzen at complete.org>
Date:   Thu Dec 29 00:12:47 2005 +0100

    Applied minor bugfixes to HVIO suggested by Bulat Ziagnshin

diff --git a/MissingH/IO/HVIO.hs b/MissingH/IO/HVIO.hs
index 83362cc..1c75fe0 100644
--- a/MissingH/IO/HVIO.hs
+++ b/MissingH/IO/HVIO.hs
@@ -369,7 +369,9 @@ class (Show a) => HVIO a where
 instance HVIO Handle where
     vClose = hClose
     vIsEOF = hIsEOF
-    --vShow = hShow
+#ifdef __GLASGOW_HASKELL__
+    vShow = hShow
+#endif
     vMkIOError h et desc mfp =
         mkIOError et desc (Just h) mfp
     vGetChar = hGetChar
@@ -390,6 +392,9 @@ instance HVIO Handle where
     vGetBuffering = hGetBuffering
     vGetBuf = hGetBuf
     vPutBuf = hPutBuf
+    vIsOpen = hIsOpen
+    vIsClosed = hIsClosed
+
 
 ----------------------------------------------------------------------
 -- VIO Support

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list