[commit: packages/process] master: Compile for windows (b2360d9)

git at git.haskell.org git at git.haskell.org
Wed Jul 19 21:19:13 UTC 2017


Repository : ssh://git@git.haskell.org/process

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/b2360d9f2260df494c8ddb90db6085476e59302e/process

>---------------------------------------------------------------

commit b2360d9f2260df494c8ddb90db6085476e59302e
Author: Charles Cooper <cooper.charles.m at gmail.com>
Date:   Fri Feb 3 10:59:22 2017 -0500

    Compile for windows


>---------------------------------------------------------------

b2360d9f2260df494c8ddb90db6085476e59302e
 System/Process/Windows.hsc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/System/Process/Windows.hsc b/System/Process/Windows.hsc
index ff8d3a7..6c92b02 100644
--- a/System/Process/Windows.hsc
+++ b/System/Process/Windows.hsc
@@ -66,7 +66,8 @@ mkProcessHandle h job io = do
            then newMVar (OpenHandle h)
            else newMVar (OpenExtHandle h job io)
    _ <- mkWeakMVar m (processHandleFinaliser m)
-   return (ProcessHandle m False)
+   l <- newMVar ()
+   return (ProcessHandle m False l)
 
 processHandleFinaliser :: MVar ProcessHandle__ -> IO ()
 processHandleFinaliser m =



More information about the ghc-commits mailing list