@@ -14,7 +14,7 @@ import Data.IORef
14import Network.Wai.Handler.Warp.MultiMap
14import Network.Wai.Handler.Warp.MultiMap
15import System.Posix.IO
15import System.Posix.IO
16import System.Posix.Types
16import System.Posix.Types
17−import System.IO.Unsafe
17+import System.IO.Unsafe -- FIXME should remove at releasing
19----------------------------------------------------------------
19----------------------------------------------------------------
@@ -41,7 +41,7 @@ inactive (MutableStatus ref) = writeIORef ref Inactive
42----------------------------------------------------------------
42----------------------------------------------------------------
44−data FdEntry = FdEntry FilePath Fd MutableStatus deriving Show
44+data FdEntry = FdEntry !FilePath !Fd !MutableStatus deriving Show
46newFdEntry :: FilePath -> IO FdEntry
46newFdEntry :: FilePath -> IO FdEntry
47newFdEntry path = FdEntry path
47newFdEntry path = FdEntry path