Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7200c74
)
Fixed the printf in the support/rsyncsums perl script that can maintain
author
Wayne Davison
<wayned@samba.org>
Sun, 17 Jun 2007 23:26:55 +0000
(23:26 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 17 Jun 2007 23:26:55 +0000
(23:26 +0000)
a hierarchy of .rsyncsums files.
checksum-updating.diff
patch
|
blob
|
blame
|
history
diff --git
a/checksum-updating.diff
b/checksum-updating.diff
index
301ba5e
..
14de729
100644
(file)
--- a/
checksum-updating.diff
+++ b/
checksum-updating.diff
@@
-862,7
+862,7
@@
we should still update the .rsyncsums file if we compute a new checksum.
+ foreach my $fn (sort keys %cache) {
+ my $ref = $cache{$fn};
+ my($size, $mtime, $ctime, $sum4, $sum5) = @$ref;
-+ printf FP '%s %s %10d %10d %s' . "\n", $sum4, $sum5, $size, $mtime, $ctime, $fn;
++ printf FP '%s %s %10d %10d %
10d %
s' . "\n", $sum4, $sum5, $size, $mtime, $ctime, $fn;
+
+ $latest_time = $mtime if $mtime > $latest_time;
+ $latest_time = $ctime if $ctime > $latest_time;