On 8/19/15 2:48 AM, jtmoon+bash...@extrahop.com wrote:

> Fix:
>       For some reason the RETURN traps are not being stacked.  Instead, the
>       current RETURN trap is just overwritten.

There is only a single RETURN trap.  Functions do not have local traps.  If
a return trap is set when a function returns, it will be executed.  Nor are
there local functions; all functions are at the global scope.

Function tracing mode (for the debugger) changes this somewhat, but you're
not using it.
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to