libbb: introduce and use strcpy_and_process_escape_sequences
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 23 Oct 2010 19:06:06 +0000 (21:06 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 23 Oct 2010 19:06:06 +0000 (21:06 +0200)
commit53600591311a129717abd2e3bcaa302622a6ce67
tree4b0d08ed429d4b73a9739339e74d84a8a72fe25e
parent6a0d7490ea6ad97aeafb9da04acab13bd3c38e4d
libbb: introduce and use strcpy_and_process_escape_sequences

function                                             old     new   delta
strcpy_and_process_escape_sequences                    -      50     +50
bb_process_escape_sequence                           148     138     -10
printf_main                                          789     776     -13
getty_main                                          1897    1831     -66
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/3 up/down: 50/-89)            Total: -39 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/printf.c
e2fsprogs/old_e2fsprogs/fsck.c
include/libbb.h
libbb/parse_config.c
libbb/process_escape_sequence.c
loginutils/getty.c