summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2004-04-13 08:56:01 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2004-04-13 08:56:01 +0000
commitd67bb10383e0db3084b5b458ec443131f00dbb87 (patch)
tree549ac1d1c3fcff494f80a92dcb2b6da7a38a355c
parentae6d1f3ed7ef32cb68b74bbb0019afcd7ff9c831 (diff)
downloadlibapr-d67bb10383e0db3084b5b458ec443131f00dbb87.tar.gz
Backport rev 1.6 - fix a serious problem clobbering NWGNUmakefile.mak
file datestamps. Ready to blame bad datestamps on a bad tarball... we can only touch mak/dep file dates that correspond to a dsp file. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@65057 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build/fixwin32mak.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/fixwin32mak.pl b/build/fixwin32mak.pl
index fa2d1b4eb..9ee8918e9 100644
--- a/build/fixwin32mak.pl
+++ b/build/fixwin32mak.pl
@@ -60,14 +60,14 @@ sub fixcwd {
$dname =~ s/.mak$/.dsp/;
@dstat = stat($dname);
@ostat = stat($oname);
- if ($ostat[9] != $dstat[9]) {
+ if ($ostat[9] && $dstat[9] && ($ostat[9] != $dstat[9])) {
@onames = ($oname);
utime $dstat[9], $dstat[9], @onames;
print "Touched datestamp for " . $oname . " in " . $File::Find::dir . "\n";
}
$oname =~ s/.mak$/.dep/;
@ostat = stat($oname);
- if ($ostat[9] != $dstat[9]) {
+ if ($ostat[9] && $dstat[9] && ($ostat[9] != $dstat[9])) {
@onames = ($oname);
utime $dstat[9], $dstat[9], @onames;
print "Touched datestamp for " . $oname . " in " . $File::Find::dir . "\n";