From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: equality time test in source and object code check Date: Wed, 14 Apr 2010 23:06:51 +0200 Message-ID: References: <201004142140.30109.stefan.tampe@spray.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271281523 18047 80.91.229.12 (14 Apr 2010 21:45:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Apr 2010 21:45:23 +0000 (UTC) Cc: bug-guile@gnu.org To: stefan Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Apr 14 23:45:21 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O2AOd-0004uf-6V for guile-bugs@m.gmane.org; Wed, 14 Apr 2010 23:45:19 +0200 Original-Received: from localhost ([127.0.0.1]:59704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2AOc-0001Oq-ID for guile-bugs@m.gmane.org; Wed, 14 Apr 2010 17:45:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O29lq-0004ab-IL for bug-guile@gnu.org; Wed, 14 Apr 2010 17:05:14 -0400 Original-Received: from [140.186.70.92] (port=39577 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O29lk-0004S2-TL for bug-guile@gnu.org; Wed, 14 Apr 2010 17:05:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O29lh-0004e5-Tw for bug-guile@gnu.org; Wed, 14 Apr 2010 17:05:07 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:54134 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O29lh-0004dz-Q8 for bug-guile@gnu.org; Wed, 14 Apr 2010 17:05:05 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 52F27AAA92; Wed, 14 Apr 2010 17:05:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=DLCkJ1lQ9xXNwOA03l8xG1eAjJo=; b=CmdUKK lrlsgBKFXIHh6UTCnFvdi5MHIFXKGOooCnnzFNRnfBhaISNZn26ilg/sj1YYayTY ieYqtdxsbuzskG4P5MLRCSnnyRrytt600tNuw0LnOeEzqItLoJFUFjapwZScBzhy I5CyItuwTnTK7XOeszEnu4TcBNAQhgwujiZE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=yM4Rhn0yO7sZVG0fFYNkSWcUZVMr1LB3 BO83m0FHBDSI/vORpfCxmVzcA0Ikfel5W7CJ03z4YScuLsQBog9UNRvoHZTm95GA d/sHze8uoKDErOJpYejP0QgTD//tqGWaNAnp4rc283K+mRoIKLGABStgZQKh7Kn1 /D9Us+GvU9w= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 38BE8AAA90; Wed, 14 Apr 2010 17:05:04 -0400 (EDT) Original-Received: from unquote (unknown [81.38.188.244]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 925EBAAA8E; Wed, 14 Apr 2010 17:05:02 -0400 (EDT) In-Reply-To: <201004142140.30109.stefan.tampe@spray.se> (stefan's message of "Wed, 14 Apr 2010 21:40:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 65AAAF72-4809-11DF-BA2D-D033EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4565 Archived-At: On Wed 14 Apr 2010 21:40, stefan 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/