diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-25 17:47:48 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-25 17:47:48 +0200 |
commit | f1a5cb0548f647e628032ea8645c0d0d2d07b02f (patch) | |
tree | 6063135a5059b3f137322726699e33e91c6ba095 /libbb | |
parent | 2990aa45d188b1d9814c89dd44658f068eb37e83 (diff) | |
download | busybox-f1a5cb0548f647e628032ea8645c0d0d2d07b02f.tar.gz |
ash: [REDIR] Replace GPL noclobberopen code with the FreeBSD version
Upstream commit:
Date: Thu, 10 Mar 2011 16:52:13 +0800
[REDIR] Replace GPL noclobberopen code with the FreeBSD version
Replace noclobberopen() from bash with the FreeBSD code for noclobber
opens.
This also reduces code size by eliminating an unnecessary check.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
function old new delta
changepath 192 194 +2
localcmd 366 364 -2
expmeta 521 517 -4
redirect 1210 1135 -75
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 2/-81) Total: -79 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions