summaryrefslogtreecommitdiff
path: root/zen/file_access.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-06-12 16:51:25 +0000
committerB. Stack <bgstack15@gmail.com>2021-06-12 16:51:25 +0000
commitd22ca0d17503de5733c909764cd54b586b52134f (patch)
treeb8076aea9d6e6408500ea8925ff233c2159a220b /zen/file_access.cpp
parentMerge branch '11.10' into 'master' (diff)
parentadd upstream 11.11 (diff)
downloadFreeFileSync-d22ca0d17503de5733c909764cd54b586b52134f.tar.gz
FreeFileSync-d22ca0d17503de5733c909764cd54b586b52134f.tar.bz2
FreeFileSync-d22ca0d17503de5733c909764cd54b586b52134f.zip
Merge branch '11.11' into 'master'11.11
add upstream 11.11 See merge request opensource-tracking/FreeFileSync!34
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