Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] mtime preservation
Date: Thu, 26 Nov 2009 09:08:04
Message-Id: 19214.17755.627908.131978@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] mtime preservation by Ulrich Mueller
1 >>>>> On Thu, 26 Nov 2009, Ulrich Mueller wrote:
2
3 >>>>> On Wed, 25 Nov 2009, Zac Medico wrote:
4 >> Of the known packages which require timestamp preservation, do any
5 >> of them use sub-second precision in their timestamp comparisons?
6
7 > I can speak for Emacs only, where the comparison code (in fileio.c) is
8 > as follows: [...]
9
10 > It uses stat(2), therefore nanoseconds are ignored.
11
12 I've also checked with dev-lisp/sbcl and dev-lisp/cmucl. They use
13 stat(2) or fstat(2), i.e. compare timestamps on the seconds level.
14
15 Ulrich