(Fcopy_file) [WINDOWSNT]: Reverse logic for setting
authorJason Rumney <jasonr@gnu.org>
Sat, 1 Feb 2003 01:22:38 +0000 (01:22 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 1 Feb 2003 01:22:38 +0000 (01:22 +0000)
timestamp.

src/ChangeLog
src/fileio.c

index d062b48..7c4ceb3 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-01  Jason Rumney  <jasonr@gnu.org>
+
+       * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting
+       timestamp.
+
 2003-01-31  Dave Love  <fx@gnu.org>
 
        * syntax.c (Fskip_chars_forward)
index 72c9fac..02b45ed 100644 (file)
@@ -2405,7 +2405,8 @@ A prefix arg makes KEEP-TIME non-nil.  */)
                 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;