Re: trap bug in recent versions of dash

2010-08-22 Thread Jilles Tjoelker
On Mon, Aug 16, 2010 at 01:52:56PM +0200, Guido Berhoerster wrote: * Jilles Tjoelker jil...@stack.nl [2010-08-15 22:05]: On Wed, Aug 11, 2010 at 10:06:16AM +0200, Guido Berhoerster wrote: with the latest git version of dash trap actions are not evaluated in the context of a function. I

Re: trap bug in recent versions of dash

2010-08-16 Thread Guido Berhoerster
* Jilles Tjoelker jil...@stack.nl [2010-08-15 22:05]: On Wed, Aug 11, 2010 at 10:06:16AM +0200, Guido Berhoerster wrote: with the latest git version of dash trap actions are not evaluated in the context of a function. I think dotrap()'s return value should be removed or at least ignored.

Re: trap bug in recent versions of dash

2010-08-15 Thread Jilles Tjoelker
On Wed, Aug 11, 2010 at 10:06:16AM +0200, Guido Berhoerster wrote: with the latest git version of dash trap actions are not evaluated in the context of a function. I think dotrap()'s return value should be removed or at least ignored. An evalskip (break/continue/return-function/return-file)