hush/editors
Denys Vlasenko 05399fc53d 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>
2014-09-15 17:06:10 +02:00
..
awk.c awk: fix handling of "if ... break ; else ..." - closes 7226 2014-06-26 16:40:28 +02:00
cmp.c switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
Config.src switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
diff.c switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
ed.c switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
Kbuild.src switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
patch_bbox.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
patch_toybox.c *: replace xopen3 with xopen where makes sense 2010-10-18 02:38:27 +02:00
patch.c patch: make -p count path components, not slashes (think /blah//thing) 2011-10-10 19:59:38 +02:00
sed1line.txt add sed mini-doc 2007-11-13 17:13:31 +00:00
sed_summary.htm doc: add info about sed s/.../.../I modifier 2008-03-01 19:29:56 +00:00
sed.c sed: accept s///i as a synonym for s///I ("ignore case") 2013-12-18 16:23:49 +01:00
vi.c vi: fix incorrect memory access on brace matching. Closes 7256 2014-09-15 17:06:10 +02:00