Emacs 64-bit ahead of its time: clock skew

Markus Hoenicka markus.hoenicka@mhoenicka.de
Thu Jul 31 13:20:00 GMT 2014


At 2014-07-31 15:01, Nellis, Kenneth was heard to say:
>> From: Markus Hoenicka
>> 
>> Hi,
>> 
>> once in a while make complains that some of my files have timestamps 
>> in
>> the future. I've investigated a little, and it seems that this affecs 
>> only
>> <snip>
> 
> You can get this behavior if the files are on a server whose time is
> not syncked to your computer.
> 
> --Ken Nellis

Good catch. We're using roaming profiles here, so my home dir is on some
network drive. If I re-run the test on a local disc, I get the
following:

$ ~/workspace/emacs-bug/20140731clockskew/clockskewtest.sh
Wrote /cygdrive/c/localdata/markus.hoenicka/emacs-clockskew/sample.txt
Thu, Jul 31, 2014  3:07:27 PM
total 0
drwxr-xr-x+ 1 markus.hoenicka Domänen-Benutzer 0 2014-07-31
15:07:27.517404000 +0200 .
d---------+ 1 markus.hoenicka Domänen-Benutzer 0 2014-07-31
15:07:10.775404000 +0200 ..
-rw-r--r--+ 1 markus.hoenicka Domänen-Benutzer 0 2014-07-31
15:07:27.484404000 +0200 sample.txt
-rw-r--r--+ 1 markus.hoenicka Domänen-Benutzer 0 2014-07-31
15:07:27.518404000 +0200 sample2.txt
CYGWIN_NT-6.1 SBHC123 1.7.31s(0.273/5/3) 20140709 12:14:54 x86_64 Cygwin

That is, no time difference. But why does the network drive affect only
emacs and not touch?

regards,
Markus

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list