From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MZ9Co-0000rZ-Cq for garchives@archives.gentoo.org; Thu, 06 Aug 2009 20:04:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 840A9E027F; Thu, 6 Aug 2009 20:04:53 +0000 (UTC) Received: from mail-ew0-f210.google.com (mail-ew0-f210.google.com [209.85.219.210]) by pigeon.gentoo.org (Postfix) with ESMTP id 4A08EE027F for ; Thu, 6 Aug 2009 20:04:53 +0000 (UTC) Received: by ewy6 with SMTP id 6so1175138ewy.34 for ; Thu, 06 Aug 2009 13:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=dRSkpSAJk6iLgiypH/vMeC4qbuOWHpbLEr9WGhKJrS8=; b=gh8BzgTBMJhpOQhSQx5CksbUowV+lbTD3WEGPYPCxKlrtHepxQb05Ipn6tcdvgKopv /80Lfb64pfWB/0UKVsnFCRjXLQxxdljt0mTB3nmeaVXaDu1dDXyfWezjRPBwcRT42TdX HCEK1T3Cfqz3cexr2D9/i9iq4PBKuwbUSWQsY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=JQ1VgRRXO0C4fP9arjpDB6Mzs0q5Mx3Wq2hrn+CoRmxbKa1sXjKphA0FqRUeL45kqQ y6z5XqnoS0Ol892Tdd10ifS7/gYR0VUo82sI55IqVLN2s1CbSsbbbOjFRo6CqMykb22m YUnuKOJjhCgV5sMgYUPrrg1s1QEG1l1/HGH08= Received: by 10.216.7.67 with SMTP id 45mr53571weo.95.1249589092725; Thu, 06 Aug 2009 13:04:52 -0700 (PDT) Received: from localhost.localdomain (92-235-187-79.cable.ubr18.sgyl.blueyonder.co.uk [92.235.187.79]) by mx.google.com with ESMTPS id f13sm1280434gvd.8.2009.08.06.13.04.51 (version=SSLv3 cipher=RC4-MD5); Thu, 06 Aug 2009 13:04:51 -0700 (PDT) From: Ciaran McCreesh To: gentoo-pms@lists.gentoo.org Cc: Ciaran McCreesh Subject: [gentoo-pms] [PATCH] nonfatal doesn't override die, assert Date: Thu, 6 Aug 2009 21:04:26 +0100 Message-Id: <1249589066-14631-1-git-send-email-ciaran.mccreesh@googlemail.com> X-Mailer: git-send-email 1.6.3.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org X-Archives-Salt: 873e5341-93e8-4f1e-9e0f-3a1d25b7d9fd X-Archives-Hash: 5ae501394eaeff148cfc349f84d960c9 The wording's rather unclear on what 'nonfatal die' does. To avoid arguing whether calling die is a 'failure', explicitly say that nonfatal doesn't stop die or assert. --- pkg-mgr-commands.tex | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 0278aec..b87bb49 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -16,8 +16,9 @@ The following commands affect this behaviour: \begin{description} \item[nonfatal] \featurelabel{nonfatal} Executes the remainder of its arguments as a command, preserving the exit status. If this results in a command being called that would normally abort - the build process due to a failure, instead a non-zero exit status shall be returned. Only in - EAPIs listed in table~\ref{tab:commands-die-table} as supporting \t{nonfatal}. + the build process due to a failure (but not due to an explicit \t{die} or \{assert} call), + instead a non-zero exit status shall be returned. Only in EAPIs listed in + table~\ref{tab:commands-die-table} as supporting \t{nonfatal}. \end{description} \begin{centertable}{EAPI Command Failure Behaviour} \label{tab:commands-die-table} -- 1.6.3.3