awk: fix a case with multiple -f options. simplify -f file reading.
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 1 Jul 2008 01:57:36 +0000 (01:57 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 1 Jul 2008 01:57:36 +0000 (01:57 -0000)
commit3bb2bbd68419ce4e777a89bf43ea7e5781dd787f
treed0cb885fb2250f447dd5e4ffbbc4a6e14e1125ed
parent0a656920487bf844664ca58ce5cef158228490fa
awk: fix a case with multiple -f options. simplify -f file reading.

function                                             old     new   delta
parse_expr                                           833     841      +8
qrealloc                                              33      36      +3
next_input_file                                      203     198      -5
afopen                                                22       -     -22
ftello                                                41       -     -41
ftell                                                 41       -     -41
__GI_ftell                                            41       -     -41
awk_main                                            1002     944     -58
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 2/2 up/down: 11/-208)          Total: -197 bytes
   text    data     bss     dec     hex filename
 804232     610    6804  811646   c627e busybox_old
 804120     610    6804  811534   c620e busybox_unstripped
editors/awk.c
testsuite/awk.tests
testsuite/awk_t1.tar.bz2 [new file with mode: 0644]