diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-04-30 10:44:20 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-04-30 10:45:17 +0200 |
commit | 63d5ed2fc45846ebab760764a3c07b1062212b3b (patch) | |
tree | 8ba67f5d376f83952c710aa8c93a0f920a87d946 /src/span.h | |
parent | 36c0abd8f61ba859d53b1e59014720282c97c143 (diff) | |
parent | 182dbdf0f4b6e6484b0d4588aaefacc75862a99c (diff) |
Merge #18437: util: Detect posix_fallocate() instead of assuming
182dbdf0f4b6e6484b0d4588aaefacc75862a99c util: Detect posix_fallocate() instead of assuming (Vasil Dimov)
Pull request description:
Don't assume that `posix_fallocate()` is available on Linux and not
available on other operating systems. At least FreeBSD has it and we
are not using it.
Properly check whether `posix_fallocate()` is present and use it if it
is.
ACKs for top commit:
laanwj:
ACK 182dbdf0f4b6e6484b0d4588aaefacc75862a99c
Tree-SHA512: f9ed4bd661f33ff6b2b1150591e860b3c1f44e12b87c35e870d06a7013c4e841ed2bf17b41ad6b18fe471b0b23a4b5e42cf1400637180888e0bc56c254fe0766
Diffstat (limited to 'src/span.h')
0 files changed, 0 insertions, 0 deletions