aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_files_file__util.cc
blob: 44ec0709b9b8a9d9670919e1aee5966f5cf5278e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/files/file_util.cc.orig	2021-07-28 07:18:23 UTC
+++ base/files/file_util.cc
@@ -52,7 +52,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);