retitle 588111 dash: non-tested fatal errors with "set -e" leave shell alive
found 588111 dash/0.5.6.1-1~exp2
tags 588111 + upstream
quit

Hi Christoph,

Christoph Anton Mitterer wrote:

> However, when doing the following:
> $ sh
> $ set -e
> $ . someNonExistentFile
> .: 2: foo: not found
> $ 
>
> it does not exit.

Yep, especially in the light of [1], this sounds like a bug.

When running a special builtin, exverror will longjmp past the
handling of eflag back to the cmdloop, and the latter does not have
enough information to tell whether it is time to terminate the shell.
A handler in evaltree to intercept the error might work.

Thanks for reporting and sorry for a slow response.
Jonathan

[1] http://austingroupbugs.net/view.php?id=114



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to