From a8c44e3998e5cb382275bf26478b62e4d246522b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 16 Oct 2002 15:56:31 +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 782acdab876..0d27a054e22 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-14 Juanma Barranquero * w16select.c (syms_of_win16select): Fix docstring for diff --git a/src/fileio.c b/src/fileio.c index 2e83159ef86..41504f9882b 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2417,7 +2417,7 @@ 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)) + else if (!NILP (keep_time)) { EMACS_TIME now; DWORD attributes; -- 2.39.2