projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f6713
)
(Fcopy_file) [WINDOWSNT]: Reverse logic for setting
author
Jason Rumney
<jasonr@gnu.org>
Sat, 1 Feb 2003 01:22:38 +0000
(
01:22
+0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sat, 1 Feb 2003 01:22:38 +0000
(
01:22
+0000)
timestamp.
src/ChangeLog
patch
|
blob
|
history
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index d062b482bb27016b4fdf3041883cc56c44a394b1..7c4ceb34ce543360b05aadfd97fa70c14487ab82 100644
(file)
--- 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 72c9faccddda36d46a9fd2a769d30ec9977d6436..02b45ed077cecea594fc45fcf77b305515b95f84 100644
(file)
--- 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;