summaryrefslogtreecommitdiff
path: root/zen/file_access.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-06-12 09:59:08 -0400
committerB. Stack <bgstack15@gmail.com>2021-06-12 09:59:23 -0400
commitfc71e66e5186fb75206290deca2b9a6cfbefa9ac (patch)
treeb8076aea9d6e6408500ea8925ff233c2159a220b /zen/file_access.cpp
parentMerge branch '11.10' into 'master' (diff)
downloadFreeFileSync-fc71e66e5186fb75206290deca2b9a6cfbefa9ac.tar.gz
FreeFileSync-fc71e66e5186fb75206290deca2b9a6cfbefa9ac.tar.bz2
FreeFileSync-fc71e66e5186fb75206290deca2b9a6cfbefa9ac.zip
add upstream 11.11
Diffstat (limited to 'zen/file_access.cpp')
-rw-r--r--zen/file_access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/file_access.cpp b/zen/file_access.cpp
index fb770f19..db4f2505 100644
--- a/zen/file_access.cpp
+++ b/zen/file_access.cpp
@@ -668,7 +668,7 @@ FileCopyResult zen::copyNewFile(const Zstring& sourceFile, const Zstring& target
/* we cannot set the target file times (::futimes) while the file descriptor is still open after a write operation:
this triggers bugs on Samba shares where the modification time is set to current time instead.
Linux: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340236
- http://comments.gmane.org/gmane.linux.file-systems.cifs/2854
+ http://comments.gmane.org/gmane.linux.file-systems.cifs/2854
macOS: https://freefilesync.org/forum/viewtopic.php?t=356 */
setWriteTimeNative(targetFile, sourceInfo.st_mtim, ProcSymlink::follow); //throw FileError
}
bgstack15