remove i386ancient and need at least debian stable to build
* Removed the i386ancient standalone tarball build for linux, which was increasingly unable to support new git-annex features. * Removed support for building with ghc older than 9.0.2, and with older versions of haskell libraries than are in current Debian stable. * stack.yaml: Update to lts-23.2. Note that i386ancient was targeting linux 2.6.32, which has been EOL for over 9 years now. Any old system still using such a kernel is certainly highly insecure. And I suspect i386ancient had its own insecurities due to haskell libraries and C libraries not having been updated.
This commit is contained in:
parent
292acd3c28
commit
da5e195597
24 changed files with 27 additions and 180 deletions
|
@ -219,21 +219,7 @@ waitForProcess h = do
|
|||
return r
|
||||
|
||||
cleanupProcess :: (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle) -> IO ()
|
||||
#if MIN_VERSION_process(1,6,4)
|
||||
cleanupProcess = Utility.Process.Shim.cleanupProcess
|
||||
#else
|
||||
cleanupProcess (mb_stdin, mb_stdout, mb_stderr, pid) = do
|
||||
-- Unlike the real cleanupProcess, this does not wait
|
||||
-- for the process to finish in the background, so if
|
||||
-- the process ignores SIGTERM, this can block until the process
|
||||
-- gets around the exiting.
|
||||
terminateProcess pid
|
||||
let void _ = return ()
|
||||
maybe (return ()) (void . tryNonAsync . hClose) mb_stdin
|
||||
maybe (return ()) hClose mb_stdout
|
||||
maybe (return ()) hClose mb_stderr
|
||||
void $ waitForProcess pid
|
||||
#endif
|
||||
|
||||
{- | Like hGetLine, reads a line from the Handle. Returns Nothing if end of
|
||||
- file is reached, or the handle is closed, or if the process has exited
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue