On Sun, Jun 02, 2013 at 03:23:18AM -0400, Mike Frysinger wrote: > i think libbb has grown to the point where it needs to start providing > its own API reference :/. it's been a while since i hacked seriously > on busybox, so i've lost touch with much of its deeper layers. [...] > inputs. it's probably safe to assume that they aren't all going to behave > exactly the same. should we create duplicate implementations to satisfy them > all ? or just take the slightly rough edges for the sake of smaller code ? > i'm in the latter camp.
Turns out the suite of xstrtou functions had a variant allowing an arbitrary mapping of suffix to multiplier to be passed in which worked perfectly. I submitted an updated patch using it which is simpler and doesn't add any local utility function. Hopefully this latest set of patches will pass muster :), if not let me know what else you'd like to see changed. Thanks... _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
