pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/entr
Module Name: pkgsrc
Committed By: leot
Date: Mon Jun 15 16:55:07 UTC 2020
Modified Files:
pkgsrc/sysutils/entr: Makefile distinfo
Added Files:
pkgsrc/sysutils/entr/patches: patch-entr.c
Log Message:
entr: Always wait for childs to avoid zombies
PKGREVISION++
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/entr/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/sysutils/entr/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/entr/patches/patch-entr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/entr/Makefile
diff -u pkgsrc/sysutils/entr/Makefile:1.15 pkgsrc/sysutils/entr/Makefile:1.16
--- pkgsrc/sysutils/entr/Makefile:1.15 Sat Jun 13 22:04:35 2020
+++ pkgsrc/sysutils/entr/Makefile Mon Jun 15 16:55:07 2020
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2020/06/13 22:04:35 leot Exp $
+# $NetBSD: Makefile,v 1.16 2020/06/15 16:55:07 leot Exp $
#
DISTNAME= entr-4.5
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://eradman.com/entrproject/code/
Index: pkgsrc/sysutils/entr/distinfo
diff -u pkgsrc/sysutils/entr/distinfo:1.13 pkgsrc/sysutils/entr/distinfo:1.14
--- pkgsrc/sysutils/entr/distinfo:1.13 Sat Jun 13 22:04:35 2020
+++ pkgsrc/sysutils/entr/distinfo Mon Jun 15 16:55:07 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.13 2020/06/13 22:04:35 leot Exp $
+$NetBSD: distinfo,v 1.14 2020/06/15 16:55:07 leot Exp $
SHA1 (entr-4.5.tar.gz) = a706c15f7be76e94c7504242cf488280af4bb0e2
RMD160 (entr-4.5.tar.gz) = 6e2c0f4828e2dc306185fc173658ba6ec44af468
SHA512 (entr-4.5.tar.gz) = db9499d78385df5056a30a4e3262fb436090acc5410ddfc529a7cfe4e10e304e13787abfc31dd38dbf8b9f01fa3369ef32d20c9fb903fa35763f41791bdda9c7
Size (entr-4.5.tar.gz) = 24674 bytes
+SHA1 (patch-entr.c) = 129df6c40e9aec79abfdfc1707be5ff23068be58
Added files:
Index: pkgsrc/sysutils/entr/patches/patch-entr.c
diff -u /dev/null pkgsrc/sysutils/entr/patches/patch-entr.c:1.1
--- /dev/null Mon Jun 15 16:55:07 2020
+++ pkgsrc/sysutils/entr/patches/patch-entr.c Mon Jun 15 16:55:07 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-entr.c,v 1.1 2020/06/15 16:55:07 leot Exp $
+
+Always wait childs to avoid zombies.
+
+--- entr.c.orig 2020-04-20 16:02:05.000000000 +0000
++++ entr.c
+@@ -254,8 +254,8 @@ void
+ proc_exit(int sig) {
+ int status;
+
++ xwaitpid(child_pid, &status, 0);
+ if ((oneshot_opt == 1) && (terminating == 0)) {
+- xwaitpid(child_pid, &status, 0);
+ if ((shell_opt == 1) && (restart_opt == 0)) {
+ fprintf(stdout, "%s returned exit code %d\n",
+ basename(getenv("SHELL")), WEXITSTATUS(status));
Home |
Main Index |
Thread Index |
Old Index