diff options
author | Mike Frysinger | 2016-01-13 13:30:20 -0500 |
---|---|---|
committer | Mike Frysinger | 2016-01-13 13:30:20 -0500 |
commit | 6a70db85cfc2aba89fc23edf426a47630f497eb8 (patch) | |
tree | 4a22fe6e92a21daf3fc447a7c40156143313f4d0 /miscutils | |
parent | e111a1640494fe87fc913f94fae3bb805de0fc99 (diff) | |
download | busybox-6a70db85cfc2aba89fc23edf426a47630f497eb8.zip busybox-6a70db85cfc2aba89fc23edf426a47630f497eb8.tar.gz |
truncate: use O_WRONLY|O_NONBLOCK
This matches coreutils behavior. We don't read the fd, and truncation
does not need blocking.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'miscutils')
0 files changed, 0 insertions, 0 deletions