mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
11 lines
404 B
C
11 lines
404 B
C
--- lib/chunkio/src/cio_file.c.orig 2019-01-07 22:07:40 UTC
|
|
+++ lib/chunkio/src/cio_file.c
|
|
@@ -591,7 +591,7 @@ int cio_file_fs_size_change(struct cio_f
|
|
|
|
/* macOS does not have fallocate().
|
|
* So, we should use ftruncate always. */
|
|
-#ifndef __APPLE__
|
|
+#ifdef __linux__
|
|
if (new_size > cf->alloc_size) {
|
|
/*
|
|
* To increase the file size we use fallocate() since this option
|