getpot: add support for "a+" specifier for nonnegative int parameters.
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 10 Feb 2008 19:44:20 +0000 (19:44 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 10 Feb 2008 19:44:20 +0000 (19:44 -0000)
commit04e11c9209f88b878d6bef0b56a4d8345c89c217
treedc67a11b65d3d7e4a03b955dd2f5d1b3c7721b2f
parent9304d6ea92f7fc1529669800b75456d549cf1bfc
getpot: add support for "a+" specifier for nonnegative int parameters.
By Vladimir Dronnikov <dronnikov at gmail.com>.
fdisk and top are converted as an example.

function                                             old     new   delta
getopt32                                            1340    1370     +30
top_main                                            1137    1120     -17
fdisk_main                                          3033    2949     -84
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 30/-101)           Total: -71 bytes
libbb/getopt32.c
procps/top.c
util-linux/fdisk.c