From 66b48f96059c5b52097bd7767b4221f9d0cf8056 Mon Sep 17 00:00:00 2001 From: stolz Date: Mon, 30 Jun 2003 14:08:24 +0000 Subject: [PATCH] [project @ 2003-06-30 14:08:24 by stolz] Duplex Handles are writeable. Noticed by: Jurriaan Hage Please MERGE --- GHC/Handle.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GHC/Handle.hs b/GHC/Handle.hs index 13a051b..26e4140 100644 --- a/GHC/Handle.hs +++ b/GHC/Handle.hs @@ -1202,7 +1202,7 @@ hIsReadable handle = htype -> return (isReadableHandleType htype) hIsWritable :: Handle -> IO Bool -hIsWritable (DuplexHandle _ _) = return False +hIsWritable (DuplexHandle _ _) = return True hIsWritable handle = withHandle_ "hIsWritable" handle $ \ handle_ -> do case haType handle_ of -- 1.7.10.4