[PATCH] libc: make system() block SIGCHLD

Mike Frysinger vapier at gentoo.org
Sun Jan 15 00:39:49 UTC 2012


On Saturday 14 January 2012 07:39:11 Richard Braun wrote:
> On Sat, Jan 14, 2012 at 06:33:55AM -0500, Mike Frysinger wrote:
> > if you unify the error paths with goto's, do you get smaller code size ?
> 
> Probably. I tried to follow the style of other code pieces I've read,
> which is why I avoided using gotos in the first place.

we prefer small wherever possible :)

orig patch:
    502       0       0     502     1f6 libc/stdlib/system.os

goto version:
    432       0       0     432     1b0 libc/stdlib/system.oS
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20120114/1b8b5fa5/attachment.asc>


More information about the uClibc mailing list