diff options
author | Jason Rumney <jasonr@gnu.org> | 2003-02-01 01:22:38 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2003-02-01 01:22:38 +0000 |
commit | 8b53dc0634292ad1677c801a6c8199c44626a98b (patch) | |
tree | c4657e7316a2b8fa8f3ccaad8f28cd5c81dbb05c | |
parent | d9f6713411787fd98b79b9114712ceda8292d8aa (diff) | |
download | emacs-8b53dc0634292ad1677c801a6c8199c44626a98b.tar.gz |
(Fcopy_file) [WINDOWSNT]: Reverse logic for setting
timestamp.
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/fileio.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d062b482bb2..7c4ceb34ce5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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) diff --git a/src/fileio.c b/src/fileio.c index 72c9faccddd..02b45ed077c 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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; |