aboutsummaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-10 16:34:00 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-10 16:34:00 +0000
commita9d7d24e1f524bb7528aa881265fe8f826023751 (patch)
tree4bc59ebc7d362ce5d9f4f733e7ba633be8534f72 /util-linux/swaponoff.c
parent99912ca733dd960f5589227fd999c86e73c8e894 (diff)
downloadbusybox-a9d7d24e1f524bb7528aa881265fe8f826023751.tar.gz
echo: fix regression ("echo" with no arguments didn't print newline.
echo: use fputs if no options are given. Code growth ~15 bytes. Old: # time ./busybox find $bigdir -exec echo {} \; >/dev/null real 0m2.038s user 0m0.761s sys 0m0.953s New: # time ./busybox find $bigdir -exec echo {} \; >/dev/null real 0m1.781s user 0m0.781s sys 0m0.939s For comparison: without NOFORK: # time find $bigdir -exec echo {} \; >/dev/null real 1m51.129s user 0m38.442s sys 1m3.350s
Diffstat (limited to 'util-linux/swaponoff.c')
0 files changed, 0 insertions, 0 deletions