shell 'trap' woodoo :)

Denys Vlasenko vda.linux at googlemail.com
Sat Sep 25 15:16:16 UTC 2010


On Tuesday 14 September 2010 20:43, Cristian Ionescu-Idbohrn wrote:
> On Tue, 14 Sep 2010, Denys Vlasenko wrote:
> 
> > On Mon, Sep 13, 2010 at 11:52 PM, Cristian Ionescu-Idbohrn
> > <cristian.ionescu-idbohrn at axis.com> wrote:
> > > On Mon, 13 Sep 2010, Denys Vlasenko wrote:
> > >
> > >> On Sun, Sep 12, 2010 at 10:31 PM, Cristian Ionescu-Idbohrn
> > >> <cristian.ionescu-idbohrn at axis.com> wrote:
> > >> >> # Automatically generated make config: don't edit
> > >> >> # Busybox version: 1.18.0.git
> > >> >> # Sun Sep 12 18:25:22 2010
> > >>
> > >> No, I need the ENTIRE .config, not its header.
> > >
> > > Attached.
> >
> > It's
> >
> > CONFIG_FEATURE_SH_STANDALONE=y
> > CONFIG_FEATURE_SH_NOFORK=y
> >
> > sleep is a nofork applet. It should not be. I am fixing this.
> > Try attached patch.
> 
> Alright.  Ash is "working" almost as expected.  The 'trap' is still run
> twice on SIGINT, but behaves.  Hush, on the other side, seems to work as
> expected, WRT skipping the second run (does only one run through the
> signals).

Please try attached patch.
-- 
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.patch
Type: text/x-diff
Size: 1888 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100925/89f438e1/attachment.bin>


More information about the busybox mailing list