bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in copy-file


From: Lars Hansen
Subject: Bug in copy-file
Date: Thu, 30 Jan 2003 17:30:53 +0100
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.2.1) Gecko/20021130

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 via email to

[Prev in Thread] Current Thread [Next in Thread]