[PATCH 2/2] first stab at NOFORK applet support
Rob Landley
rob at landley.net
Fri May 12 14:30:25 PDT 2006
On Friday 12 May 2006 11:50 am, Denis Vlasenko wrote:
> It's a bit ugly, yes, but it allows to NOT move variable declarations
> out of sed.c into some centralized place (that place is bound to become
> one big mess of structs and variables from dozens of unrelated applets).
You mean the way busybox.h has become a big mess of function declarations from
unrelated applets, usage.h has become a big mess of help text from unrelated
applets, applets.h has become a big mess of...
If the central places to do stuff are getting too ugly, then possibly it's
time to start having "sed.h" with busybox.h being a big list of #includes of
the smaller header files. It's an open question whether or not that's
cleaner...
I tend not to be reassured by checks that you can simply forget to add and the
sucker works fine without it.
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list