Displaying 3 results from an estimated 3 matches for "nsec_bump".
2016 Jan 20
2
[PATCH] Consider nanoseconds when quick-checking for unchanged files
...ore_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 == file->modtime
> + && NSEC_BUMP(file) ? (uint32)st->ST_MTIME_NSEC ==
> F_MOD_NSEC(file)
> + : 1
> + : 0
> +#endif
> + ;
> }
Ping?
Unfortunately, there weren't any comments yet.
Ingo
2014 Mar 10
5
[Bug 10494] New: remove-source-files fails with symlinks
https://bugzilla.samba.org/show_bug.cgi?id=10494
Summary: remove-source-files fails with symlinks
Product: rsync
Version: 3.1.0
Platform: x64
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: afried at deteque.com
2014 Dec 25
8
[PATCH] Consider nanoseconds when quick-checking for unchanged files
...or.c 2014-06-14 01:05:08.000000000 +0200
+++ b/generator.c 2014-12-25 11:19:54.000000000 +0100
@@ -588,7 +588,13 @@
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
+ ? NSEC_BUMP(file) ? (uint32)st->ST_MTIME_NSEC == F_MOD_NSEC(file)
+ : 1
+ : 0
+#endif
+ ;
}