:reload when machine clock is ahead of file-system clock

Jon Fairbairn Jon.Fairbairn at cl.cam.ac.uk
Thu Aug 12 05:48:33 EDT 2004


On 2004-08-11 at 16:17PDT Mike Gunter wrote:
> 
> For me, :reload often seems to treat an out-of-date interpreted module
> as up-to-date.  I think this is a consequence of my machine clock
> being ahead of my file-system clock.
> 
> I believe this behavior results from the use of getClockTime as the
> linkableTime for interpreted modules.  It seems more correct to use
> the mtime of the source.  In general, it seems best not to compare
> local-machine times and file-system times.

Surely nowadays one uses ntp, so the times on the two
machines are accurate?

 Jón


-- 
Jón Fairbairn                                 Jon.Fairbairn at cl.cam.ac.uk





More information about the Glasgow-haskell-bugs mailing list