From 9eb222eb15137a28bb0cc6a08bbbd76ad43b2cff Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 16 Oct 2002 15:58:59 +0000 Subject: [PATCH] (Fcopy_file): Fix backward test of KEEP_TIME. --- src/ChangeLog | 4 ++++ src/fileio.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index b9590eb3bb3..2bd666419ab 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-10-16 Richard M. Stallman + + * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. + 2002-10-15 Eli Zaretskii * sysdep.c [MSDOS] (request_sigio, unrequest_sigio): diff --git a/src/fileio.c b/src/fileio.c index 152364a6e82..84e67b81e7f 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2356,7 +2356,7 @@ 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)) + else if (!NILP (keep_time)) { EMACS_TIME now; DWORD attributes; -- 2.39.2