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 |