5 Feb
2025
5 Feb
'25
9:44 a.m.
posix_fallocate() looks like a better fit when increasing allocation size but you'd need to check the file size first, which introduces a race condition. posix_fallocate() will also increase the file size if the file is truncated by another thread. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7115#note_93690