public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] [PATCH] nonfatal doesn't override die, assert
@ 2009-08-06 20:04 Ciaran McCreesh
  2009-08-06 22:40 ` Christian Faulhammer
  0 siblings, 1 reply; 2+ messages in thread
From: Ciaran McCreesh @ 2009-08-06 20:04 UTC (permalink / raw
  To: gentoo-pms; +Cc: Ciaran McCreesh

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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [gentoo-pms] [PATCH] nonfatal doesn't override die, assert
  2009-08-06 20:04 [gentoo-pms] [PATCH] nonfatal doesn't override die, assert Ciaran McCreesh
@ 2009-08-06 22:40 ` Christian Faulhammer
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Faulhammer @ 2009-08-06 22:40 UTC (permalink / raw
  To: gentoo-pms

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

Hi,

Ciaran McCreesh <ciaran.mccreesh@googlemail.com>:

> 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.

 No objections.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://gentoo.faulhammer.org/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-06 22:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06 20:04 [gentoo-pms] [PATCH] nonfatal doesn't override die, assert Ciaran McCreesh
2009-08-06 22:40 ` Christian Faulhammer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox