diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-04-01 11:58:11 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-04-01 11:58:11 +0200 |
commit | 6ed94aa9b25fc1824de2e74eebf8b75aefe99b75 (patch) | |
tree | cf88ace0f24da6b9a78c18e1a43dcd309105e5b5 /libbb | |
parent | 35082fc2c17369223669e099f422acc0982ee4ff (diff) | |
download | busybox-6ed94aa9b25fc1824de2e74eebf8b75aefe99b75.tar.gz |
vi: install SIGINT handler _after_ restart setjmp is initialized
While at it, sanitized comment style, deleted wrong ones, renamed signal
handlers to <sig>_handler(), slightly optimized "cursor home+clear screen".
function old new delta
cont_handler - 66 +66
tstp_handler - 64 +64
winch_handler - 60 +60
int_handler - 32 +32
edit_file 648 651 +3
redraw 52 43 -9
catch_sig 32 - -32
winch_sig 60 - -60
suspend_sig 64 - -64
cont_sig 66 - -66
------------------------------------------------------------------------------
(add/remove: 4/4 grow/shrink: 1/1 up/down: 225/-231) Total: -6 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions