[PATCH 1/2] ntdll: Use posix_fallocate(2/3) instead of fallocate(2).

Alexandre Julliard julliard at winehq.org
Tue Sep 14 15:33:29 CDT 2021


Chip Davis <cdavis at codeweavers.com> writes:

> From: Charles Davis <cdavis5x at gmail.com>
>
> The fallocate(2) call only exists on Linux. posix_fallocate() is more
> portable.

I'd suggest to always use posix_fallocate() then, and don't worry about
adding fallbacks. We can simply skip the call if it's missing.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list