The Samba-Bugzilla – Attachment 11440 Details for
Bug 11521
rsync does not use high-resolution timestamps to determine file differences
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to check hi-res timestamp in unchanged_file
file_11521.txt (text/plain), 493 bytes, created by
Michael McCracken
on 2015-09-14 21:38:27 UTC
(
hide
)
Description:
patch to check hi-res timestamp in unchanged_file
Filename:
MIME Type:
Creator:
Michael McCracken
Created:
2015-09-14 21:38:27 UTC
Size:
493 bytes
patch
obsolete
>diff --git a/generator.c b/generator.c >index 3a4504f..2f64f5d 100644 >--- a/generator.c >+++ b/generator.c >@@ -588,7 +588,11 @@ int unchanged_file(char *fn, struct file_struct *file, STRUCT_STAT *st) > if (ignore_times) > return 0; > >- return cmp_time(st->st_mtime, file->modtime) == 0; >+ return cmp_time(st->st_mtime, file->modtime) == 0 >+#ifdef ST_MTIME_NSEC >+ && st->ST_MTIME_NSEC == F_MOD_NSEC(file) >+#endif >+ ; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 11521
: 11440