console-tools size optimization
Rob Landley
rob at landley.net
Thu Sep 8 03:28:03 UTC 2005
On Wednesday 07 September 2005 09:42, Tito wrote:
> Hi,
> this is a series of patches to reduce the size of some console-tools
> applets:
chvt yay.
deallocvt: you're sure -1 is the only error code ever returned?
setconsole: yay, and is this already using one instance of those strings?
(When we introduce a string table to ease translation, should non-translated
strings be merged on general principles, or what?)
One advantage of a string table is that by putting lots of strings together,
it's easier to see similar ones that can be re-used in different areas...
openvt: yay.
Applied (r11390), but I'd appreciate an answer to the deallocvt question.
(And no, I don't know why it saves size either. I suspect on other platforms
it might not, and consider it by far the weakest patch of the lot...)
Rob
More information about the busybox
mailing list