diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 16:34:00 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 16:34:00 +0000 |
commit | f8634051b60cef8099227d38a74820bdbeef9144 (patch) | |
tree | 4bc59ebc7d362ce5d9f4f733e7ba633be8534f72 /init | |
parent | 50a061df5105478ea5f0c0bdc3891d646c50eea3 (diff) | |
download | busybox-w32-f8634051b60cef8099227d38a74820bdbeef9144.tar.gz busybox-w32-f8634051b60cef8099227d38a74820bdbeef9144.tar.bz2 busybox-w32-f8634051b60cef8099227d38a74820bdbeef9144.zip |
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
git-svn-id: svn://busybox.net/trunk/busybox@18383 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions