summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2003-02-01 01:16:43 +0000
committerJason Rumney <jasonr@gnu.org>2003-02-01 01:16:43 +0000
commit0ea7cf211183a6c7ba68f7371666ecc431642500 (patch)
tree656359d683c2674c341ed81fdae6ded5adb570bb /src
parentf57af6a507338404d6c7a2bd634673e186799d8c (diff)
downloademacs-0ea7cf211183a6c7ba68f7371666ecc431642500.tar.gz
(Fcopy_file) [WINDOWS_NT]: Reverse logic for setting
timestamp.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index f904a1146ee..53fddacde04 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2356,7 +2356,8 @@ A prefix arg makes KEEP-TIME non-nil.")
XSTRING (encoded_newname)->data,
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;