Show
Ignore:
Timestamp:
04/05/08 02:21:23 (20 months ago)
Author:
bchoate
Message:

Avoid rebuilding files within the same build operation (particularly helps for date-based archive rebuilds). BugId:69032

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-33/lib/MT/FileMgr/Local.pm

    r1174 r1779  
    120120} 
    121121 
     122sub file_mod_time { 
     123    my $fmgr = shift; 
     124    my ($file) = @_; 
     125    if (-e $file) { 
     126        return (stat($file))[9]; # modification timestamp 
     127    } 
     128    return undef; 
     129} 
     130 
    122131sub content_is_updated { 
    123132    my $fmgr = shift;