[PATCH] tee.c adapted for POSIX' sigaction

Mats Erik Andersson mats.andersson64 at comhem.se
Thu Apr 12 08:33:36 UTC 2007


ons 2007-04-11 klockan 21:57 +0200 skrev Denis Vlasenko:
> On Wednesday 11 April 2007 15:56, Mats Erik Andersson wrote:
> > attached is an effort to implement the new
> > signal handling using 'sigaction' for the
> > applet 'tee'.
> 
> Do you refer to "TODO - switch to sigaction"
> comments from that applet? I actually wonder why
> we can't happily continue using signal().
> Is it problematic or what?
> 
> IOW: maybe just delete that comment?
> --
> vda

Yes, I was fooled by the TODO marker. In my 
limited experience I cannot see any shortcoming
of sticking with the established signal()-call
as tee is never reactivated after any pause.
I therefore second the removal of the TODO
comments in tee.c.

MEA



More information about the busybox mailing list