apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/build fixwin32mak.pl
Date Tue, 13 Apr 2004 08:52:52 GMT
wrowe       2004/04/13 01:52:52

  Modified:    build    fixwin32mak.pl
  Log:
    Ready to blame bad datestamps on a bad tarball... we can only
    touch mak/dep file dates that correspond to a dsp file.
  
  Revision  Changes    Path
  1.6       +2 -2      apr/build/fixwin32mak.pl
  
  Index: fixwin32mak.pl
  ===================================================================
  RCS file: /home/cvs/apr/build/fixwin32mak.pl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- fixwin32mak.pl	4 Feb 2002 18:54:00 -0000	1.5
  +++ fixwin32mak.pl	13 Apr 2004 08:52:52 -0000	1.6
  @@ -60,14 +60,14 @@
           $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"; 
  
  
  

Mime
View raw message