X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:message-id; q= dns; s=default; b=YXqQotoKlZlwldpK6ieqq7VQa2EKgIx8QNpy2IkX6ORsnJ pJVLGiYHmdcOlfn9XWijuFqlWz+ADg9ZxANi4G9jkl8CoYlJ15vDZybR8PMr969t dkr5lZdY8hOxS8CcNUoJ2oL5K/YfUMCliOlH9sdU3NySJGBH6ucHthHikr/WI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:message-id; s= default; bh=hX0nwVpbmH6B6e6VSMXU9r6uLCQ=; b=I1b288W87lKmS4IhJNr/ wbfbSi21qWKqVJ01oe7W+Zx4HAKnxOx0tr2VfVSTvUr0TKSQ6XFZiCMcpsc/FVgB 3OuSXVjCu7a7yrrR5RNbWawvVNya8jiPqdXJxUUEzlpaOa5hNfCi0ecCrHe0SurQ mlfMA5F2w6oU1SLPQNwl3qs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: smtprelay04.ispgateway.de MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 31 Jul 2014 14:42:48 +0200 From: Markus Hoenicka To: cygwin AT cygwin DOT com Subject: Emacs 64-bit ahead of its time: clock skew Message-ID: X-Sender: markus DOT hoenicka AT mhoenicka DOT de User-Agent: Roundcube Webmail X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ== X-IsSubscribed: yes 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 files which I save from Emacs. The following script reproduces the problem (run it in an empty directory, especially sample.txt must not exist): #!/bin/sh emacs -batch sample.txt -f save-buffer touch sample2.txt date ls -al --full-time uname -a The emacs command simply creates an empty buffer and writes it to disk. This is comparable to what touch does if the file does not exist. I get the following output: $ ./clockskewtest.sh Wrote /home/markus.hoenicka/workspace/emacs-bug/20140731clockskew/sample.txt Thu, Jul 31, 2014 2:21:06 PM total 18 drwxr-xr-x+ 1 markus.hoenicka Domänen-Benutzer 0 2014-07-31 14:21:34.333524000 +0200 . drwxr-xr-x+ 1 markus.hoenicka Domänen-Benutzer 0 2014-07-31 14:15:24.354636000 +0200 .. -rwxr--r--+ 1 markus.hoenicka Domänen-Benutzer 101 2014-07-31 14:21:25.918416000 +0200 clockskewtest.sh -rwxr--r--+ 1 markus.hoenicka Domänen-Benutzer 92 2014-07-31 14:18:39.592771000 +0200 clockskewtest.sh~ -rw-r--r--+ 1 markus.hoenicka Domänen-Benutzer 0 2014-07-31 14:21:34.265547000 +0200 sample.txt -rw-r--r--+ 1 markus.hoenicka Domänen-Benutzer 0 2014-07-31 14:21:06.315410800 +0200 sample2.txt CYGWIN_NT-6.1 SBHC123 1.7.31s(0.273/5/3) 20140709 12:14:54 x86_64 Cygwin Please note that the file created by Emacs is about 28 seconds in the future. These 28 s seem to be reproducible in consecutive runs of this script. I wonder if this is related in some way to the random and quite rare crashes which I reported previously, see this thread: https://groups.google.com/forum/#!topic/gnu.emacs.bug/cR3wgNDxVzA In many of those backtraces references to some function run_timers() in atime.c pop up. Just wondering. 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