posix_fallocate does not return -1 for an error case. Replace posix_fallocate for fallocate which does return -1 when something goes wrong. See fallocate(2): On success, fallocate() returns zero. On error, -1 is returned and errno is set to indicate the error. |
||
---|---|---|
src | ||
tests | ||
.gitignore | ||
COPYING | ||
Makefile.am | ||
configure.ac |