Drop an 8 year old patch about SIGCHLD handling which is no longer
needed.
This commit is contained in:
parent
cc74a8183a
commit
a8e8c05e45
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.53 2018/01/22 22:08:42 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.54 2018/01/30 19:31:55 kili Exp $
|
||||
|
||||
COMMENT-main = tiling window manager
|
||||
COMMENT-lib = libraries for runtime configuration
|
||||
|
||||
DISTNAME = xmonad-0.13
|
||||
REVISION = 0
|
||||
PKGNAME-main = ${DISTNAME}
|
||||
PKGNAME-lib = ${DISTNAME:S,-,-lib-,}
|
||||
CATEGORIES = x11
|
||||
|
@ -1,20 +0,0 @@
|
||||
$OpenBSD: patch-XMonad_Core_hs,v 1.6 2018/01/22 22:08:42 kili Exp $
|
||||
|
||||
From Tomas Janousek.
|
||||
|
||||
Index: src/XMonad/Core.hs
|
||||
--- src/XMonad/Core.hs.orig
|
||||
+++ src/XMonad/Core.hs
|
||||
@@ -650,7 +650,11 @@ trace = io . hPutStrLn stderr
|
||||
installSignalHandlers :: MonadIO m => m ()
|
||||
installSignalHandlers = io $ do
|
||||
installHandler openEndedPipe Ignore Nothing
|
||||
- installHandler sigCHLD Ignore Nothing
|
||||
+ installHandler sigCHLD (Catch cleanZombies) Nothing
|
||||
+ cleanZombies
|
||||
+
|
||||
+cleanZombies :: IO ()
|
||||
+cleanZombies = do
|
||||
(try :: IO a -> IO (Either SomeException a))
|
||||
$ fix $ \more -> do
|
||||
x <- getAnyProcessStatus False False
|
Loading…
x
Reference in New Issue
Block a user