Commit e1aad95f authored by refold's avatar refold
Browse files

Revert the timestamp checks back to (>=) from (>).

parent 81d07bf2
......@@ -240,8 +240,7 @@ whenCacheOutOfDate origFile cacheFile action = do
else do
origTime <- getModificationTime origFile
cacheTime <- getModificationTime cacheFile
-- FIXME: Revert back to >= when we'll add finer-resolution mtime utils.
unless (cacheTime > origTime) action
unless (cacheTime >= origTime) action
------------------------------------------------------------------------
......
......@@ -269,8 +269,7 @@ isDepModified verbosity now (packageDir, timestamp) = do
when (modTime > now) $
warn verbosity $ "File '" ++ dep
++ "' has a modification time that is in the future."
-- FIXME: Revert back to >= when we'll add finer-resolution mtime utils.
if modTime > timestamp
if modTime >= timestamp
then do
debug verbosity ("Dependency has a modified source file: " ++ dep)
return True
......
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