diff options
author | Ron Yorston <rmy@pobox.com> | 2015-05-28 12:52:36 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-05-28 12:52:36 +0100 |
commit | 6fb17897d620572290b1f604430c06c261145aad (patch) | |
tree | baae7370671ff5a8247bd31b2c15ddc0ca36c0c6 /docs | |
parent | 316ecf214a051121516730f794721f5e7b3036ac (diff) | |
download | busybox-w32-6fb17897d620572290b1f604430c06c261145aad.tar.gz busybox-w32-6fb17897d620572290b1f604430c06c261145aad.tar.bz2 busybox-w32-6fb17897d620572290b1f604430c06c261145aad.zip |
ash: seek to EOF when file is opened for append
This shouldn't be necessary but without it the offset becomes
zero when an external command is run.
rm -f log
echo 1234567890 >>log
cmd /c echo hi >>log
echo 1234567890 >>log
Before this change log would contain:
hi
567890
1234567890
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions