diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-09-15 17:06:10 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-09-15 17:06:10 +0200 |
commit | 05399fc53dc0b812727e44189882181ecaf3b6d6 (patch) | |
tree | efc93581856e68572359cfd3d6836a205352f0d1 /libbb/get_line_from_file.c | |
parent | 26a8b9f1967d910033c516462c101100e041a9b4 (diff) | |
download | busybox-05399fc53dc0b812727e44189882181ecaf3b6d6.tar.gz |
vi: fix incorrect memory access on brace matching. Closes 7256
While at it, fix brace matching to actually show the match
(missed fflush was causing cursor positioning to be buffered);
shorten brace matching code; remove unused macro indirection
in indicate_error().
Custom linker script 'busybox_ldscript' found, using it
function old new delta
indicate_error - 61 +61
mysleep 43 56 +13
char_insert 483 486 +3
find_pair 167 124 -43
Indicate_Error 61 - -61
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 2/1 up/down: 77/-104) Total: -27 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/get_line_from_file.c')
0 files changed, 0 insertions, 0 deletions