Browse Source

* Actually check if file is newer, and not if they are of the same age. Went wrong in r24611

git-svn-id: trunk@24624 -
joost 12 years ago
parent
commit
f677ba5551
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fpmkunit/src/fpmkunit.pp

+ 1 - 1
packages/fpmkunit/src/fpmkunit.pp

@@ -4880,7 +4880,7 @@ begin
   D1:=FileDateToDateTime(DS);
   D2:=FileDateToDateTime(DD);
   Log(vlDebug,SDbgComparingFileTimes,[Src,DateTimeToStr(D1),Dest,DateTimeToStr(D2)]);
-  Result:=D1=D2;
+  Result:=D1>D2;
   If Result then
     Log(vlInfo,SInfoSourceNewerDest,[Src,DateTimeToStr(D1),Dest,DateTimeToStr(D2)]);
 end;