Differential D18757 Diff 55230 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_files_memory__mapped__file__posix.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_files_memory__mapped__file__posix.cc
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/3rdparty/chromium/base/files/memory_mapped_file_posix.cc.orig 2018-11-13 18:25:11 UTC | |||||
+++ src/3rdparty/chromium/base/files/memory_mapped_file_posix.cc | |||||
@@ -110,6 +110,8 @@ bool MemoryMappedFile::MapFileRegionToMemory( | |||||
// Only Android API>=21 supports the fallocate call. Older versions need | |||||
// to manually extend the file by writing zeros at block intervals. | |||||
do_manual_extension = true; | |||||
+#elif defined(OS_BSD) | |||||
+ do_manual_extension = true; | |||||
#elif defined(OS_MACOSX) | |||||
// MacOS doesn't support fallocate even though their new APFS filesystem | |||||
// does support sparse files. It does, however, have the functionality |