getopt: use getopt32 for option parsing - inspired by patch by
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 7 Apr 2007 10:25:04 +0000 (10:25 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 7 Apr 2007 10:25:04 +0000 (10:25 -0000)
commit9c146a91d3c1ae3b561be39b792bbd45447b904c
tree498ea2fc84be4966ebf210fdb4d995d16b23c9f8
parentfdf63a30fe4f5f0d5dac2899b50996ca7088f1bf
getopt: use getopt32 for option parsing - inspired by patch by
        Mats Erik Andersson <mats.andersson64@comhem.se>
function                                             old     new   delta
getopt_main                                          809     810      +1
static.BUFFER                                          4       -      -4
shell                                                  8       4      -4
quote                                                  4       -      -4
quiet_output                                           4       -      -4
quiet_errors                                           4       -      -4
long_options_nr                                        4       -      -4
long_options_length                                    4       -      -4
long_options                                         388     384      -4
alternative                                            4       -      -4
shortopts                                             15       -     -15
normalize                                            243     220     -23
.rodata                                           131832  131800     -32
add_longopt                                          200       -    -200
------------------------------------------------------------------------------
(add/remove: 0/9 grow/shrink: 1/4 up/down: 1/-306)           Total: -305 bytes
util-linux/getopt.c