busybox/coreutils
Ron Yorston 4a79224cfc printf: short-circuit output when argument to %b includes \c
printf wasn't correctly handling \c in an argument to the %b format
specifier.

   printf %bXX OK\\c

returned 'OK\cXX' rather than the expected 'OK'.

function                                             old     new   delta
printf_main                                          886     899     +13

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-01-31 22:23:05 +01:00
..
libcoreutils libbb: more compact API for bb_parse_mode() 2015-10-07 17:55:33 +02:00
basename.c trim extra newlines in help texts 2015-01-24 19:46:45 +01:00
cal.c
cat.c
catv.c catv: suppress compiler warning 2014-02-03 03:27:53 +01:00
chgrp.c
chmod.c libbb: more compact API for bb_parse_mode() 2015-10-07 17:55:33 +02:00
chown.c libbb: make parse_chown_usergroup_or_die() set unspecified uid/gid to -1 2015-10-19 04:37:19 +02:00
chroot.c
cksum.c
comm.c
Config.src stat: make -f optional. This allows to build stat for non-linux systems 2015-10-30 22:10:44 +01:00
cp.c Add conditional support for -v / --verbose 2014-05-19 16:23:50 +02:00
cut.c
date.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
dd.c libiproute: rename invarg(a,b) to invarg_1_to_2(a,b) 2015-10-14 13:21:01 +02:00
df.c df: fix -T option when ENABLE_FEATURE_HUMAN_READABLE=0 2014-09-20 18:55:17 +02:00
dirname.c
dos2unix.c dos2unix: try to preserve ownership. closes 8311 2016-01-17 03:50:36 +01:00
du.c du: extra compat: with -k and -m, round sizes up 2015-10-15 21:33:34 +02:00
echo.c echo: make escape sequences depend on fancy mode 2015-07-31 03:47:49 +02:00
env.c
expand.c
expr.c
false.c special-case {true,false,test} --help 2015-04-21 16:00:41 +02:00
fold.c
fsync.c
head.c
hostid.c
id_test.sh
id.c
install.c libbb: more compact API for bb_parse_mode() 2015-10-07 17:55:33 +02:00
Kbuild.src sync: add support for -d -f FILE 2015-07-21 19:50:48 +02:00
length.c.disabled
ln.c Removes stray empty line from code 2015-07-13 03:25:46 +02:00
logname.c
ls.c libbb: factor out code which queries screen width 2015-10-23 01:44:22 +02:00
md5_sha1_sum.c
mkdir.c libbb: more compact API for bb_parse_mode() 2015-10-07 17:55:33 +02:00
mkfifo.c
mknod.c
mv.c Add conditional support for -v / --verbose 2014-05-19 16:23:50 +02:00
nice.c
nohup.c
od_bloaty.c od: get rid of (almost all) statics 2015-10-19 02:51:56 +02:00
od.c
printenv.c
printf.c printf: short-circuit output when argument to %b includes \c 2016-01-31 22:23:05 +01:00
pwd.c
readlink.c
realpath.c
rm.c Add conditional support for -v / --verbose 2014-05-19 16:23:50 +02:00
rmdir.c Add conditional support for -v / --verbose 2014-05-19 16:23:50 +02:00
seq.c
shuf.c fix whitespaces 2015-06-07 18:19:47 +02:00
sleep.c
sort.c sort: fix ENDCHAR handling in "-kSTART,N.ENDCHAR" 2015-10-19 19:27:26 +02:00
split.c
stat.c stat: make -f optional. This allows to build stat for non-linux systems 2015-10-30 22:10:44 +01:00
stty.c libbb: factor out code which queries screen width 2015-10-23 01:44:22 +02:00
sum.c
sync.c sync: add support for -d -f FILE 2015-07-21 19:50:48 +02:00
tac.c
tail.c tail: adjust help/usage texts 2014-01-10 16:26:15 +01:00
tee.c
test_ptr_hack.c
test.c special-case {true,false,test} --help 2015-04-21 16:00:41 +02:00
touch.c
tr.c tr: support octal ranges 2015-10-26 17:18:07 +01:00
true.c special-case {true,false,test} --help 2015-04-21 16:00:41 +02:00
truncate.c truncate: use O_WRONLY|O_NONBLOCK 2016-01-13 13:30:20 -05:00
tty.c
uname.c uname: make OS name configurable 2015-08-03 18:09:18 +02:00
uniq.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
unlink.c unlink: new applet 2014-06-22 20:44:25 +02:00
usleep.c
uudecode.c uudecode: tolerate text input with CR+LF line ends 2015-10-05 15:10:44 +02:00
uuencode.c
wc.c
who.c build system: -fno-builtin-printf 2015-10-07 22:42:45 +02:00
whoami.c
yes.c