[PATCH] new applet: nmeter

Rob Landley rob at landley.net
Thu Jul 6 01:30:52 UTC 2006


I have yet to have time to look at this, but catching up on my email...

On Wednesday 05 July 2006 5:31 pm, Bernhard Fischer wrote:
> >+00000040 t simple_itoa
>
> erm, we already have *several* itoa in there:
> msh, hush, ash?, lash, netstat

And the xgetularg variants in libbb.  (Ick.  I am _going_ to remove these 
gratuitous bb_ prefixes that have sprouted everywhere.  You have been 
warned...)

I've been dreading the part of rewriting getopt_ulflags() that adds number 
parsing support so the &optarg bits can feed it a pointer to an integer.  Not 
sure what a clean syntax for that would be yet.  (Leaning towards something 
like "x#\x32" for a uint32_t, but how do I specify signed?)

Making it not use getopt() seems fairly easy in comparison...

> >+0000021c t collect_blk - large because has both 2.4 and 2.6 functions
>
> Perhaps it's worthwile to be able to toggle support for 2.4 and 2.6
> separately in the config-machinery like we already have for modutils?

A global toggle for this?  Makes sense.  I'd want both allyesconfig and 
allnoconfig to build, though.

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list