summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ngircd-handle-zombies.patch
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-03-28 20:56:54 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-03-31 11:25:41 +0900
commit35ad8f7a9243fc8b5f4d93e5f35ed7b385fd56f5 (patch)
treed3b243e3096d4659c26f72d9df9e637d815fee06 /gnu/packages/patches/ngircd-handle-zombies.patch
parent0a57acf4d56508040a9c9a3021f67ea5182fc282 (diff)
gnu: ngircd: Update to 27.
* gnu/packages/messaging.scm (ngircd): Update to 27. [source]: Delete patches field. * gnu/packages/patches/ngircd-handle-zombies.patch: Delete file. * gnu/local.mk (dist_patch_DATA): De-register it. Change-Id: I3360ddd0e737a0b57323967f0572ab367d94d559
Diffstat (limited to 'gnu/packages/patches/ngircd-handle-zombies.patch')
-rw-r--r--gnu/packages/patches/ngircd-handle-zombies.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/gnu/packages/patches/ngircd-handle-zombies.patch b/gnu/packages/patches/ngircd-handle-zombies.patch
deleted file mode 100644
index 99475ba096..0000000000
--- a/gnu/packages/patches/ngircd-handle-zombies.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-The Guile process taking the role of PID 1 during Guix builds does not reap
-zombie processes, which makes them continue responding to "kill -0".
-
---- a/src/testsuite/stop-server.sh 2015-02-05 11:24:00.535908842 +0100
-+++ b/src/testsuite/stop-server.sh 2015-02-05 11:25:00.264351349 +0100
-@@ -1,6 +1,21 @@
- #!/bin/sh
- # ngIRCd Test Suite
-
-+process_is_alive(){
-+ ! process_is_dead "$1" && ! process_is_undead "$1"
-+}
-+
-+process_is_dead(){
-+ ! kill -0 "$1"
-+}
-+
-+process_is_undead(){
-+ case $(ps -p "$1" -o state=) in
-+ (Z*) true ;;
-+ (*) false ;;
-+ esac
-+}
-+
- [ -z "$srcdir" ] && srcdir=`dirname $0`
-
- # read in functions
-@@ -24,7 +40,7 @@
-
- # waiting ...
- for i in 1 2 3 4 5; do
-- kill -0 $pid > /dev/null 2>&1; r=$?
-+ process_is_alive $pid > /dev/null 2>&1; r=$?
- if [ $r -ne 0 ]; then
- echo " ok".
- exit 0