diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-10-19 12:24:22 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-10-19 12:28:17 -0400 |
commit | 9b50adaaaa4fedc8bda6fcf32595ecf7a682fa8b (patch) | |
tree | 3ed5f7cbdc1063b8e5c6d9f9a5ac5ea2542e1250 /exec.c | |
parent | dceb5658eae528ae18dbd7d249ab4ca60b3958fe (diff) | |
download | bfs-9b50adaaaa4fedc8bda6fcf32595ecf7a682fa8b.tar.xz |
parse: Switch back to O_TRUNC from explicit ftruncate()
O_TRUNC is not equivalent to an unconditional ftruncate(), e.g. for
device files.
This reverts the behaviour change from 78944c81, which was never
released and is not supported in other find implementations.
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions