Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] typeset: set $? on incidental error
- X-seq: zsh-workers 37614
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] typeset: set $? on incidental error
- Date: Wed, 13 Jan 2016 20:58:09 -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=lqGW/8ay0pQyH0rKD25hzBw9KPaaRHB9TGF2gvcylVY=; b=HwWbannKOzvTcgezypEOZKlD6tMl5m3PGrr1XbEZAKObv6yWwFqGNlBS2AhGw8i6T9 EQtHCdX3S2r/QxzT9C4AMnxcQogRYkWBQwVQXP9p2opVRKsHDPNWp8KBEp75Qh0XIcyA tPHOl5bgOedeL0t+bo5st2y37wT9tpHLNuLYO5r/3L+lMdtDKWsppzM12TjgP76hhLaa rD/OOmcVQ3Faqid9BdJURBJ28+2F+fONQ5mR4jrcs0irKsYZAkaVSQ/TDzgKJTtaps78 TGaOb34iI5IcLyVx5lo/C1m/9ANjMptAeMPmGO349uRX1O8GmENO23BxuUVOTrlxdfvE UurA==
- In-reply-to: <20160114001336.GA11173@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: <20160114001336.GA11173@tarsus.local2>
On Jan 14, 12:13am, Daniel Shahaf wrote:
}
} The 'typeset' family of builtins doesn't set $? when one would expect it
}
} This patch makes 'typeset' behave as ordiary assignment does.
Looks OK to me. I worry that there's also some examination of errflag
needed, but what you have there doesn't seem to be wrong.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author