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

Simon Marlow simonmar at microsoft.com
Thu Aug 12 07:19:56 EDT 2004


On 12 August 2004 00:18, 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.

Good idea.  I've made that change.

Cheers,
	Simon




More information about the Glasgow-haskell-bugs mailing list