mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
Port changes: * Updated LICENSE_FILE * Added IGNORE_FreeBSD_10 because of missing _cxa_thread_atexit() * Added to LIB_DEPENDS * Added USE_GNOME * Removed USE_LDCONFIG * Updated post-patch PR: 226276 Submitted by: Olexandr Davydenko <odavydenko@gmail.com> Approved by: tcberner (mentor, implicit)
12 lines
570 B
C++
12 lines
570 B
C++
--- ../../zen/file_io.cpp.orig 2018-03-01 11:10:56.764684000 +0200
|
|
+++ ../../zen/file_io.cpp 2018-03-01 11:12:35.599889000 +0200
|
|
@@ -305,8 +305,7 @@
|
|
{
|
|
const FileHandle fh = getHandle();
|
|
//don't use potentially inefficient ::posix_fallocate!
|
|
- const int rv = ::fallocate(fh, //int fd,
|
|
- 0, //int mode,
|
|
+ const int rv = ::posix_fallocate(fh, //int fd,
|
|
0, //off_t offset
|
|
expectedSize); //off_t len
|
|
if (rv != 0)
|