[PATCH] Change 'whenCacheOutOfDate' to use '>' again.
Mikhail Glushenkov
the.dead.shall.rise at gmail.com
Fri Jul 25 20:42:40 UTC 2014
Hi,
On 25 July 2014 19:21, Nikita Karetnikov <nikita at karetnikov.org> wrote:
>
> Do you have a better testcase? Why does ‘whenCacheOutOfDate’ run the
> action on ‘=’ in the first place? If the cache file has the same
> modification time as the original, it means that the cache is
> up-to-date, no?
OK, I tested your patch and it seems to work. I guess that what
actually fixed that bug was the change from getModificationTime to
getModTime (which has higher resolution).
More information about the cabal-devel
mailing list