[PATCH] ash: add bash-like ERR trap and set -E

Roberto A. Foglietta roberto.foglietta at gmail.com
Tue Sep 7 09:17:47 UTC 2021


Il giorno dom 5 set 2021 alle ore 23:52 Roberto A. Foglietta
<roberto.foglietta at gmail.com> ha scritto:
>
> Il giorno dom 5 set 2021 alle ore 21:40 Denys Vlasenko
> <vda.linux at googlemail.com> ha scritto:
> >
> > IIRC you want to fix other LINENO problems anyway,
> > like incorrect handling of it in functions?
>
> Nope, at the moment all problems are fixed. AFAIK. Patch v021 is my
> final one, IMHO.
> Unless, you show unacceptable downsides in replacing raise_exception()
> with exitshell().
>

I am attaching the second part of the patch for enabling the global
LINENO and FUNCNAME variables.

Best regards,
-- 
Roberto A. Foglietta
+39.349.33.30.697
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.34.0-global-LINENO-global-FUNCNAME.patch
Type: application/octet-stream
Size: 5818 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210907/c130e99c/attachment-0001.obj>


More information about the busybox mailing list