Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] typeset: set $? on incidental error
- X-seq: zsh-workers 37805
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] typeset: set $? on incidental error
- Date: Tue, 26 Jan 2016 20:17:24 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=GkptqCDR35w6StHQ3rlGcfMkrm8lh2RMJ4eC/jynD9w=; b=TMlPCLwqYHfXhlxSUON7/pyA3V5id4H6VKcNwEBqO3v313YfVaudpt6mNHMLSc0Cg/ NnjXPi7lUFX5XAWHfduDjooC948lXgqIJJOlYnq0TkKE00itVfO/oOKGS687OSQrxJP0 ScVBWGpJAJtgjl76h4BLl4q2o7GITOubhXJg2PV6vj077y2fPb7sOqKSI7Es00hC59sY yrqoDBCbe4oF23v7Mxp7uK6f7a0KEWcIJ5uHpJuC9ZquRacN+6eVH5cjIjOgGGrMtfl5 iKBLNTjX/xhd2lL+nm0+jjpHLHdkMcZNMbDgJT1AHvyElhkeVZVAqCelr+NYjzUF4M/l TZYg==
- In-reply-to: <20160126225008.GA4731@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20160123235300.GC20278@tarsus.local2> <56A445E0.50706@gmx.com> <20160126225008.GA4731@tarsus.local2>
On Jan 26, 10:50pm, Daniel Shahaf wrote:
}
} If existing typesets always exit zero in the circumstance that the patch
} proposes to change, no code would be broken by this change (no existing
} code, no new zsh-targeted code, no new ksh-targeted code), except for
} new ksh-targeted code written by zsh users who won't be aware of this
} difference.
This is not true. Scripts using "setopt errexit" or "setopt errreturn"
or "set -e" will fail in ways they did not fail before.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author