sed: fix range handling for sed -i. Closes 4069
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 16 Aug 2011 11:29:34 +0000 (13:29 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 16 Aug 2011 11:29:34 +0000 (13:29 +0200)
commita7d6bb3b5df1a0a2be2f48583ffc01b1f62d73af
tree9686d41000d765d9aead067d704d1efb362c9575
parent4f54168ea21216f1ca322d343a26ee3e568444d9
sed: fix range handling for sed -i. Closes 4069

function                                             old     new   delta
sed_main                                             606     618     +12
add_cmd                                             1099    1101      +2
process_files                                       2108    2099      -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 14/-9)               Total: 5 bytes

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