September 15, 2021 4:39 AM, "Alexandre Julliard" julliard@winehq.org wrote:
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.
Honestly, I only wrote this one to shut up the FIXME that gets emitted every time Steam installs something. Maybe demoting it to a WARN is more apropos, then.
Now if you'll excuse me, I'm off to beg Apple once again for a new feature...
Chip