diff src/fileio.c @ 49557:8fbfb61ab3f4

(Fcopy_file) [WINDOWSNT]: Reverse logic for setting timestamp.
author Jason Rumney <jasonr@gnu.org>
date Sat, 01 Feb 2003 01:22:05 +0000
parents 99be3a1e2589
children 320721ae5978 d7ddb3e565de
line wrap: on
line diff
--- a/src/fileio.c	Sat Feb 01 00:39:58 2003 +0000
+++ b/src/fileio.c	Sat Feb 01 01:22:05 2003 +0000
@@ -2405,7 +2405,8 @@
 		 SDATA (encoded_newname),
 		 FALSE))
     report_file_error ("Copying file", Fcons (file, Fcons (newname, Qnil)));
-  else if (!NILP (keep_time))
+  /* CopyFile retains the timestamp by default.  */
+  else if (NILP (keep_time))
     {
       EMACS_TIME now;
       DWORD attributes;