unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Hansen <larsh@math.ku.dk>
Subject: Bug in copy-file
Date: Thu, 30 Jan 2003 17:30:53 +0100	[thread overview]
Message-ID: <3E39533D.3090509@math.ku.dk> (raw)

A bug has been introduced since Emacs 21.2.
A "!" has been added where it should not be.
As a consequence the keep-time parameter functions
opposite of what is intended. The patch below
should fix the problem.

Lars Hansen

*** 2405,2411 ****
   		 SDATA (encoded_newname),
   		 FALSE))
       report_file_error ("Copying file", Fcons (file, Fcons (newname, 
Qnil)));
!   else if (!NILP (keep_time))
       {
         EMACS_TIME now;
         DWORD attributes;
--- 2405,2411 ----
   		 SDATA (encoded_newname),
   		 FALSE))
       report_file_error ("Copying file", Fcons (file, Fcons (newname, 
Qnil)));
!   else if (NILP (keep_time))
       {
         EMACS_TIME now;
         DWORD attributes;

             reply	other threads:[~2003-01-30 16:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30 16:30 Lars Hansen [this message]
2003-01-30 17:28 ` Bug in copy-file Andreas Schwab
2003-01-31  7:36   ` Lars Hansen
2003-01-31 11:18     ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E39533D.3090509@math.ku.dk \
    --to=larsh@math.ku.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).