summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_files_file__util.cc
blob: 8cb98c28bfe2c5fc474bedb85d4753a5a5b3ced2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/files/file_util.cc.orig	2021-09-24 04:25:55 UTC
+++ base/files/file_util.cc
@@ -57,7 +57,7 @@ bool Move(const FilePath& from_path, const FilePath& t
 }
 
 bool CopyFileContents(File& infile, File& outfile) {
-#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_BSD)
   bool retry_slow = false;
   bool res =
       internal::CopyFileContentsWithSendfile(infile, outfile, retry_slow);