Skip to content
Permalink
Browse files

TimeSizeCompare.cpp: Fix GitHub issue #132: Files marked as different…

… in "Modified Date" compare mode although modification dates are equal
  • Loading branch information...
sdottaka committed Sep 7, 2019
1 parent 2616a26 commit 8b5600467425227deb064c8bdbff69d6c336e852
Showing with 6 additions and 0 deletions.
  1. +6 −0 Src/CompareEngines/TimeSizeCompare.cpp
@@ -66,6 +66,12 @@ int TimeSizeCompare::CompareFiles(int compMethod, int nfiles, const DIFFITEM &di
nTimeDiff12 -= SmallTimeDiff * Timestamp::resolution();
nTimeDiff02 -= SmallTimeDiff * Timestamp::resolution();
}
else
{
nTimeDiff -= Timestamp::resolution();
nTimeDiff12 -= Timestamp::resolution();
nTimeDiff02 -= Timestamp::resolution();
}
if (nTimeDiff <= 0 && nTimeDiff12 <= 0)
code = DIFFCODE::SAME;
else

0 comments on commit 8b56004

Please sign in to comment.
You can’t perform that action at this time.