unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Bug in copy-file
@ 2003-01-30 16:30 Lars Hansen
  2003-01-30 17:28 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Hansen @ 2003-01-30 16:30 UTC (permalink / 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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-31 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-30 16:30 Bug in copy-file Lars Hansen
2003-01-30 17:28 ` Andreas Schwab
2003-01-31  7:36   ` Lars Hansen
2003-01-31 11:18     ` Andreas Schwab

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).