diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-27 22:25:07 +0100 | 
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-27 22:25:07 +0100 | 
| commit | bff71d3b9d4244abc5182c38d0a98f4913188391 (patch) | |
| tree | cd881f8a0563b32ad537f0bcae455dab2aa1decb /docs/cgi/interface.html | |
| parent | 710b6ce9b0dba1b13028e7205bade70eefc2543f (diff) | |
| download | busybox-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 'docs/cgi/interface.html')
0 files changed, 0 insertions, 0 deletions
