Received: by mail.netbsd.org (Postfix, from userid 605) id F0B0384E09; Mon, 15 Jun 2020 16:55:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7A4D884D7D for ; Mon, 15 Jun 2020 16:55:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id YvQFz43XoJwq for ; Mon, 15 Jun 2020 16:55:08 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id F201D84D3A for ; Mon, 15 Jun 2020 16:55:07 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id EDE7DFB28; Mon, 15 Jun 2020 16:55:07 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1592240107158610" MIME-Version: 1.0 Date: Mon, 15 Jun 2020 16:55:07 +0000 From: "Leonardo Taccari" Subject: CVS commit: pkgsrc/sysutils/entr To: pkgsrc-changes@NetBSD.org Reply-To: leot@netbsd.org X-Mailer: log_accum Message-Id: <20200615165507.EDE7DFB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1592240107158610 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1592240107158610 Content-Disposition: inline Content-Length: 2045 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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)); --_----------=_1592240107158610--