aboutsummaryrefslogtreecommitdiff
path: root/miscutils/time.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-27 22:25:07 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-27 22:25:07 +0100
commitbff71d3b9d4244abc5182c38d0a98f4913188391 (patch)
treecd881f8a0563b32ad537f0bcae455dab2aa1decb /miscutils/time.c
parent710b6ce9b0dba1b13028e7205bade70eefc2543f (diff)
downloadbusybox-bff71d3b9d4244abc5182c38d0a98f4913188391.tar.gz
lineedit: fix two bugs in SIGWINCH signal handling
(1) restore entire sigaction, not only signal handler function (2) do not use stdio when not sure WINCH did not interrupt a printf() or such. function old new delta cmdedit_setwidth - 81 +81 read_line_input 3682 3722 +40 lineedit_read_key 138 155 +17 put_prompt 55 51 -4 win_changed 93 47 -46 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/2 up/down: 138/-50) Total: 88 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/time.c')
0 files changed, 0 insertions, 0 deletions