Commit 440fe65e authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Replace a '>=' comparison with a '>'.

It looks like #1443 was actually fixed by the change from getModificationTime to
getModTime (which has higher resolution). The change to '>=' was not needed
because the code uses 'when', not 'unless'.

Thanks to Nikita Karetnikov for the heads-up.
parent 96847693
......@@ -242,7 +242,7 @@ whenCacheOutOfDate origFile cacheFile action = do
else do
origTime <- getModTime origFile
cacheTime <- getModTime cacheFile
when (origTime >= cacheTime) action
when (origTime > cacheTime) action
------------------------------------------------------------------------
-- Reading the index file
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment