changeset 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 e8de2a4807e5
children 4e2f5a529cbd
files src/fileio.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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;