timestamp to mitigate time-skew problems (Denis Barbier).
Closes: #105750
-2006-02-10 Ian Jackson <iwj@ubuntu.com>
+2006-02-10 Denis Barbier <barbier@linuxfr.org>
+
+ * scripts/dpkg-source.pl: Touch all patched files
+ to have the same timestamp. This should mitigate
+ time-skew problems until we can finally add proper
+ timestamps to the diffs.
+
+2006-02-10 Ian Jackson <iwj@ubuntu.com>
* src/configure.c: Differentiate between modified
and deleted configuration files. Gives and more
variables.
* On package configuration, differentiate between modified and
deleted configuration files (Ian Jackson). Closes: #351361
+ * Let dpkg-source -x touch all patched files to have the same
+ timestamp to mitigate time-skew problems (Denis Barbier).
+ Closes: #105750
[ Christian Perrier ]
* Switch to po4a for manpages translation. Closes: #320122
&reapgzip if $patch =~ /\.(gz|bz2)$/;
}
+ my $now = time;
for $fn (keys %filepatched) {
- $ftr= "$newdirectory/".substr($fn,length($expectprefix)+1).".dpkg-orig";
+ $ftr= "$newdirectory/".substr($fn,length($expectprefix)+1);
+ utime($now, $now, $ftr) || &syserr("cannot change timestamp for $ftr");
+ $ftr.= ".dpkg-orig";
unlink($ftr) || &syserr("remove patch backup file $ftr");
}