Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2014 17:24:28 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351353 - in head/ports-mgmt/pkg-devel: . files
Message-ID:  <201404151724.s3FHOStm043335@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Apr 15 17:24:28 2014
New Revision: 351353
URL: http://svnweb.freebsd.org/changeset/ports/351353
QAT: https://qat.redports.org/buildarchive/r351353/

Log:
  New patch to avoid tons of cores to be created in case of bad failures
  
  This time bump portrevision

Added:
  head/ports-mgmt/pkg-devel/files/patch-signal   (contents, props changed)
Modified:
  head/ports-mgmt/pkg-devel/Makefile

Modified: head/ports-mgmt/pkg-devel/Makefile
==============================================================================
--- head/ports-mgmt/pkg-devel/Makefile	Tue Apr 15 17:08:46 2014	(r351352)
+++ head/ports-mgmt/pkg-devel/Makefile	Tue Apr 15 17:24:28 2014	(r351353)
@@ -2,6 +2,7 @@
 
 PORTNAME=	pkg
 DISTVERSION=	1.3.0.a8
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	\
 		http://files.etoilebsd.net/pkg/ \

Added: head/ports-mgmt/pkg-devel/files/patch-signal
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/pkg-devel/files/patch-signal	Tue Apr 15 17:24:28 2014	(r351353)
@@ -0,0 +1,15 @@
+diff --git src/main.c src/main.c
+index b5c5320..2398687 100644
+--- src/main.c
++++ src/main.c
+@@ -444,6 +444,10 @@ start_process_worker(void)
+ 
+ 			if (WIFEXITED(status) && ret != EX_NEEDRESTART)
+ 				break;
++			if (WIFSIGNALED(status)) {
++				/* Process got some terminating signal, hence stop the loop */
++				break;
++			}
+ 		}
+ 	}
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404151724.s3FHOStm043335>