From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andre Spiegel Newsgroups: gmane.emacs.devel Subject: Re: C-x v u via *.~REV.~ reset file date to 1970-01-01 Date: Tue, 26 Aug 2003 06:01:11 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1061870470.794.59.camel@localhost> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1061871191 25260 80.91.224.253 (26 Aug 2003 04:13:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Aug 2003 04:13:11 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Aug 26 06:13:09 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rVCf-0005RW-00 for ; Tue, 26 Aug 2003 06:13:09 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19rVIV-00083v-00 for ; Tue, 26 Aug 2003 06:19:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rV9z-0004Bj-LD for emacs-devel@quimby.gnus.org; Tue, 26 Aug 2003 00:10:23 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19rV7Y-00030J-Gw for emacs-devel@gnu.org; Tue, 26 Aug 2003 00:07:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19rV65-0002Lj-TW for emacs-devel@gnu.org; Tue, 26 Aug 2003 00:06:53 -0400 Original-Received: from [193.113.160.16] (helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rV65-0002La-K0 for emacs-devel@gnu.org; Tue, 26 Aug 2003 00:06:21 -0400 Original-Received: from [217.81.117.24] (217.81.117.24) by mail.o2.co.uk (7.0.018.1) (authenticated as 01792247376@o2online.de) id 3F25D5D4006C7B7D for emacs-devel@gnu.org; Tue, 26 Aug 2003 05:01:17 +0100 Original-To: emacs-devel@gnu.org In-Reply-To: X-Mailer: Ximian Evolution 1.4.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16157 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16157 On Tue, 2003-08-26 at 04:26, Simon Josefsson wrote: > Visit a file in CVS and type a SPC and then remove it and save the > file. VC generate a backup file dated 1970-01-01: > > jas@latte:~/src/libidn$ ls -la Makefile.am* > -rw-r--r-- 1 jas staff 1959 2003-08-26 04:22 Makefile.am > -rw-r--r-- 1 jas staff 1959 1970-01-01 01:00 Makefile.am.~1.91.~ > jas@latte:~/src/libidn$ I see this on my system (Debian) too, but it's clearly an error. VC creates the backup file using copy-file with KEEP-TIME non-nil (vc-hooks.el, line 594). The doc string of copy-file does mention that KEEP-TIME doesn't work on all systems, but I would assume GNU/Linux is not one of them, and even if it doesn't work on a system, 1970-01-01 is clearly not an acceptable date. Something must be broken in copy-file, fileio.c. Ken Raeburn's change of 2002-07-15 (version 1.454) may be a candidate, since it's the last time the keep-time stuff was changed, but I'm not knowledgable in this area. Could somebody else please have a look?