]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 d062b482bb27016b4fdf3041883cc56c44a394b1..7c4ceb34ce543360b05aadfd97fa70c14487ab82 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 72c9faccddda36d46a9fd2a769d30ec9977d6436..02b45ed077cecea594fc45fcf77b305515b95f84 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;