diff options
author | Ron Yorston | 2021-08-19 16:59:36 +0100 |
---|---|---|
committer | Denys Vlasenko | 2021-08-20 15:26:09 +0200 |
commit | f07772f19e29cf44a14c108935afb5668e38fac3 (patch) | |
tree | b02e85e854e0ad13747ba98e0036d6b2948bc0fe /configs | |
parent | 29b53ef03fc7ddd3ba27898d77a900a2f184aa0d (diff) | |
download | busybox-f07772f19e29cf44a14c108935afb5668e38fac3.zip busybox-f07772f19e29cf44a14c108935afb5668e38fac3.tar.gz |
vi: changes to handling of -c and EXINIT
Rewrite handling of command line arguments so any number of -c
commands will be processed. Previously only two -c commands
were allowed (or one if EXINIT was set).
Process commands from EXINIT before the first file is read into
memory, as specified by POSIX.
function old new delta
run_cmds - 77 +77
.rodata 108410 108411 +1
vi_main 305 268 -37
edit_file 816 764 -52
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/2 up/down: 78/-89) Total: -11 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions