From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: copy-file broken Date: Sat, 30 Aug 2003 16:18:42 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <7263-Sat30Aug2003161842+0300-eliz@elta.co.il> References: <1062242292.7719.81.camel@localhost> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1062250456 5284 80.91.224.253 (30 Aug 2003 13:34:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2003 13:34:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Aug 30 15:34:15 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 19t5rr-0003uc-00 for ; Sat, 30 Aug 2003 15:34:15 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19t5zf-00071i-00 for ; Sat, 30 Aug 2003 15:42:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19t5pc-0004Tx-S7 for emacs-devel@quimby.gnus.org; Sat, 30 Aug 2003 09:31:56 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19t5mA-00039d-4K for emacs-devel@gnu.org; Sat, 30 Aug 2003 09:28:22 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19t5iT-0002Mi-RX for emacs-devel@gnu.org; Sat, 30 Aug 2003 09:24:34 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19t5hS-0001kx-Rz; Sat, 30 Aug 2003 09:23:30 -0400 Original-Received: from [192.114.186.18] (helo=bilbo.inter.net.il) by mx20.gnu.org with esmtp (Exim 4.22) id 19t5dF-0004Ho-AP; Sat, 30 Aug 2003 09:19:09 -0400 Original-Received: from zaretski (pns03-197-178.inter.net.il [80.230.197.178]) by bilbo.inter.net.il (Mirapoint Messaging Server MOS 3.3.5-GR) with ESMTP id BHY83989; Sat, 30 Aug 2003 16:19:06 +0300 (IDT) Original-To: Andre Spiegel X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <1062242292.7719.81.camel@localhost> (message from Andre Spiegel on Sat, 30 Aug 2003 13:18:12 +0200) 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:16205 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16205 > From: Andre Spiegel > Date: Sat, 30 Aug 2003 13:18:12 +0200 > > When I use copy-file with the keep-time option, the resulting file is > dated 1970-01-01. I already reported this on this list a few days ago, > but there has been no response yet. Myself, I'm not sufficiently > familiar with fileio.c to debug this. > > I'm seeing the problem under Debian GNU/Linux, 2.4.21, Emacs CVS HEAD. I cannot reproduce this with today's CVS HEAD on fencepost.gnu.org which claims to be Linux fencepost 2.4.20-19.9smp #1 SMP Tue Jul 15 17:04:18 EDT 2003 i686 unknown is it possible that this is some library bug? Emacs calls `utimes' to set the file's times (see sysdep.c:set_file_times). > The problem may be related to Ken Raeburn's change in fileio.c from > 2002-07-15 (version 1.454) -- at least, that's the most recent change in > the code that seems to handle keep-time. I looked at the code both in Fcopy_file and in set_file_times, and couldn't spot anything unusual or suspicious there.