Huw Davies huw@codeweavers.com writes:
On Wed, Sep 15, 2021 at 10:52:35AM +0200, Alexandre Julliard wrote:
Do we actually need this in the first place? I thought posix_fallocate() was supposed to be the portable solution <g>
It's not available on macOS (at least not on 10.14), so apparently it's not that portable ;-/
I'd suggest to ignore it then. It's only an optimization, and F_PREALLOCATE doesn't seem like a good match for this.