find: remove the hack we use to parse options first, replace with simpler code
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 12 Feb 2011 19:27:13 +0000 (20:27 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 12 Feb 2011 19:27:13 +0000 (20:27 +0100)
commit053c12e0de30afbc19019ffa9b0cb01edc44539f
treea573a561be65b767e05a7a0e7912aa9f4c7d8d36
parent805f2453d02e9d5cbbbd5c37c6659691e1697630
find: remove the hack we use to parse options first, replace with simpler code

   text    data     bss     dec     hex filename
 867764     438    7552  875754   d5cea busybox_old
 867629     438    7552  875619   d5c63 busybox_unstripped

function                                             old     new   delta
parse_params                                        1377    1440     +63
static.params                                        151     192     +41
static.options                                        42      57     +15
fileAction                                           151     153      +2
find_main                                            466     267    -199
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 121/-199)          Total: -78 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/find.c