vi: code shrink; save/restore errno in signal handlers
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 17 Apr 2010 03:55:52 +0000 (20:55 -0700)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 17 Apr 2010 03:55:52 +0000 (20:55 -0700)
commit2bb651ae10e36999949812d3ac4f7789ed665037
tree01474cd07b98a67d419078a114b65aeb1c44c3a5
parent6f69f2dbc6dec739a576d6403551784453db59f3
vi: code shrink; save/restore errno in signal handlers

function                                             old     new   delta
query_screen_dimensions                                -      54     +54
suspend_sig                                           50      64     +14
cont_sig                                              65      66      +1
catch_sig                                             42      32     -10
winch_sig                                             88      60     -28
edit_file                                            719     671     -48
refresh                                              848     767     -81
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/4 up/down: 69/-167)           Total: -98 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/vi.c