From 4f59f9439687cccfb7aac6aca62dbe97038179bf Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Feb 2014 14:00:15 -0400 Subject: windows: Fix process termination code. The ctrl-c hack used before didn't actually seem to work. No haskell libraries expose TerminateProcess. I tried just calling it via FFI, but got segfaults, probably to do with the wacky process handle not being managed correctly. Moving it all into one C function worked. This was hell. The EvilLinker hack was just final icing on the cake. We all know what the cake was made of. --- git-annex.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'git-annex.cabal') diff --git a/git-annex.cabal b/git-annex.cabal index b149f2cdf..d982b6d06 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -105,6 +105,7 @@ Executable git-annex if (os(windows)) Build-Depends: Win32, Win32-extras + C-Sources: Utility/winprocess.c else Build-Depends: unix -- Need to list these because they're generated from .hsc files. -- cgit v1.2.3