From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- extra/xautolock/processwait.patch | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 extra/xautolock/processwait.patch (limited to 'extra/xautolock') diff --git a/extra/xautolock/processwait.patch b/extra/xautolock/processwait.patch deleted file mode 100644 index a288d9a..0000000 --- a/extra/xautolock/processwait.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/src/engine.c.orig 2014-08-28 12:50:56.086307943 +0000 -+++ b/src/engine.c 2014-08-28 12:50:59.496333650 +0000 -@@ -209,24 +209,24 @@ evaluateTriggers (Display* d) - { - #else /* VMS */ - if (lockerPid) - { --#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4) -+#if (!defined (UTEKV) && !defined (SYSV) && !defined (SVR4)) && defined (__GLIBC__) - union wait status; /* childs process status */ --#else /* !UTEKV && !SYSV && !SVR4 */ -+#else /* (!UTEKV && !SYSV && !SVR4) && __GLIBC__ */ - int status = 0; /* childs process status */ --#endif /* !UTEKV && !SYSV && !SVR4 */ -+#endif /* (!UTEKV && !SYSV && !SVR4) && __GLIBC__ */ - - if (unlockNow && !disabled) - { - (void) kill (lockerPid, SIGTERM); - } - --#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4) -+#if (!defined (UTEKV) && !defined (SYSV) && !defined (SVR4)) && defined (__GLIBC__) - if (wait3 (&status, WNOHANG, 0)) --#else /* !UTEKV && !SYSV && !SVR4 */ -+#else /* (!UTEKV && !SYSV && !SVR4) && __GLIBC__ */ - if (waitpid (-1, &status, WNOHANG)) --#endif /* !UTEKV && !SYSV && !SVR4 */ -+#endif /* (!UTEKV && !SYSV && !SVR4) && __GLIBC__ */ - { - /* - * If the locker exited normally, we disable any pending kill - * trigger. Otherwise, we assume that it either has crashed or -- cgit v1.2.1