Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: err_exit/err_return regression



On 29/09/15 at 06:09P, Bart Schaefer wrote:
> I think what this boils down to is, "retflag" needs two values to
> distinguish an actual return from an ERR_RETURN, the same way that
> we distinguish interrupts from actual errors.  Patch below seems to
> work for the "if" case, there may be other such cases.  Might want
> to use bitflags and/or #defines instead of just 1 and 2.

With this patch it's still failing for me, but only when running the
snippet I posted as a script. Seems to magically work with the sourced
'cut-and-paste' version.

/jsks



Messages sorted by: Reverse Date, Date, Thread, Author