From 5adebd84f3f387728156f11cf8c8a87ec53fbb22 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 9 Mar 2002 10:16:40 +0000 Subject: [PATCH] (Fcopy_file): Fix last change. --- src/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fileio.c b/src/fileio.c index 12c064cb34a..32deff96a71 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2350,7 +2350,7 @@ A prefix arg makes KEEP-TIME non-nil.") /* Ensure file is writable while its modified time is set. */ attributes = GetFileAttributes (filename); - SetFileAttributes (filename, attributes ^ FILE_ATTRIBUTE_READONLY); + SetFileAttributes (filename, attributes & ~FILE_ATTRIBUTE_READONLY); if (set_file_times (filename, now, now)) { /* Restore original attributes. */ -- 2.39.5