Mercurial > emacs
changeset 43799:b1abfedc2e1d
(Fcopy_file): Fix last change.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sat, 09 Mar 2002 10:20:18 +0000 |
parents | ff7e1d919ec0 |
children | 1548aa2b7c55 |
files | src/fileio.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.c Sat Mar 09 09:30:18 2002 +0000 +++ b/src/fileio.c Sat Mar 09 10:20:18 2002 +0000 @@ -2417,7 +2417,7 @@ /* 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. */