[PATCH] tee.c adapted for POSIX' sigaction
Mats Erik Andersson
mats.andersson64 at comhem.se
Wed Apr 11 13:56:20 UTC 2007
Hello there,
attached is an effort to implement the new
signal handling using 'sigaction' for the
applet 'tee'. My testing does produce the
expacted behaviour to ignore SIGINT. The
downside is a growth of the code:
text data bss dec hex filename
425 0 0 425 1a9 tee.o
364 0 0 364 16c tee.o.orig
Regards, Mats E A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tee_with_sigaction.diff
Type: text/x-patch
Size: 1414 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070411/d2afa742/attachment-0002.bin
More information about the busybox
mailing list