bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: equality time test in source and object code check


From: Andy Wingo
Subject: Re: equality time test in source and object code check
Date: Wed, 14 Apr 2010 23:06:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

On Wed 14 Apr 2010 21:40, stefan <address@hidden> writes:

> I'm not certain if this is a Bug. But it looks like there is an 
> equality test of times for the check if the object file is in sync with
> the source file. I could imagine that the rule that has to be obeyed is
>
> obj-code-file-time >= source-code-time
>
> testing for equality looks a little scary to me

That test won't work normally, because often when installing debs or
rpms, the file timestamps come from the rpm and not the time of
installation.

So, we check timestamp equality. Perhaps we should use an epsilon, but
OTOH guile should be able to timestamp files as precisely as the
filesystem supports, including nanosecond resolutions, so perhaps this
won't be a problem.

Or, perhaps this is wishful thinking :)

A
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]