aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-quoting
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-10-25 21:46:03 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-10-25 21:46:03 +0200
commiteaf9436b08f68be8b96730307fe1da1faf374ee0 (patch)
tree88f6a907a913ef8a72a47c0b1ea0725fa8c3ea93 /shell/hush_test/hush-quoting
parent2a6d29ad5ce652c03ed8324a0d14f62594f2dd84 (diff)
downloadbusybox-eaf9436b08f68be8b96730307fe1da1faf374ee0.tar.gz
ash: [REDIR] Move null redirect checks into caller
Upstream commit: Date: Thu, 27 May 2010 14:21:17 +0800 [REDIR] Move null redirect checks into caller The null redirect checks were added as an optimisation to avoid unnecessary memory allocations. However, we could avoid this completely by simply making the caller avoid making a redirection unless it is not null. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> function old new delta evaltree 784 809 +25 evalcommand 1251 1261 +10 hashvar 59 62 +3 dotcmd 321 319 -2 clearredir 37 30 -7 popredir 183 162 -21 redirect 1264 1233 -31 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/4 up/down: 63/-61) Total: -23 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-quoting')
0 files changed, 0 insertions, 0 deletions