summaryrefslogtreecommitdiff
path: root/libbb/time.c
diff options
context:
space:
mode:
authorRon Yorston2021-04-15 12:05:45 +0100
committerDenys Vlasenko2021-04-15 13:09:12 +0200
commitd488def0e453781e0471cfb0971ad709a95c7919 (patch)
treefc9879043b14c193f4ba4f0b8c63d5c77b45818b /libbb/time.c
parent5d1bb58b13d4a805538e231584721e5738932efc (diff)
downloadbusybox-d488def0e453781e0471cfb0971ad709a95c7919.zip
busybox-d488def0e453781e0471cfb0971ad709a95c7919.tar.gz
vi: detect and warn about invalid line addresses
BusyBox vi didn't have proper handling for invalid markers or unsuccessful searches in colon line addresses. This could result in the wrong lines being affected by a change. Detect when an invalid address is specified, propagate an error indicator up the call chain and issue a warning. function old new delta colon 3604 3661 +57 .rodata 105195 105211 +16 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 73/0) Total: 73 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/time.c')
0 files changed, 0 insertions, 0 deletions