[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: logread -f does not respond to SIGPIPE
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2013-07-28 21:16:15
Message-ID: 201307282316.15931.vda.linux () googlemail ! com
[Download RAW message or body]

On Friday 05 July 2013 23:52, Frank Rosquin wrote:
> Hi,
> 
> when spawning an instance of logread -f from a script, if the parent
> script dies/gets killed, logread never exits even though it gets sent
> SIGPIPE

logread.c doesn't install SIGPIPE handler.
Unless SIGPIPE is set to be masked or ignored by logread's parent,
it should be dying from SIGPIPE. Strange...

I'm going to replace existing SIGINT handler
with bb_signals(BB_FATAL_SIGS, interrupted).
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic