diff options
| author | Jason Rumney | 2002-03-09 10:20:18 +0000 |
|---|---|---|
| committer | Jason Rumney | 2002-03-09 10:20:18 +0000 |
| commit | 02cca86b7c8525d173bd5b8a1b87d2956b821dd2 (patch) | |
| tree | 95fc49ffbdab0210c41d32a66ab59496f877d5fd /src | |
| parent | 2f147815283bcd0c8f6c77c31d23aacd983ca6e7 (diff) | |
| download | emacs-02cca86b7c8525d173bd5b8a1b87d2956b821dd2.tar.gz emacs-02cca86b7c8525d173bd5b8a1b87d2956b821dd2.zip | |
(Fcopy_file): Fix last change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index bb39f2a153b..6abf102aa33 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2417,7 +2417,7 @@ A prefix arg makes KEEP-TIME non-nil. */) | |||
| 2417 | 2417 | ||
| 2418 | /* Ensure file is writable while its modified time is set. */ | 2418 | /* Ensure file is writable while its modified time is set. */ |
| 2419 | attributes = GetFileAttributes (filename); | 2419 | attributes = GetFileAttributes (filename); |
| 2420 | SetFileAttributes (filename, attributes ^ FILE_ATTRIBUTE_READONLY); | 2420 | SetFileAttributes (filename, attributes & ~FILE_ATTRIBUTE_READONLY); |
| 2421 | if (set_file_times (filename, now, now)) | 2421 | if (set_file_times (filename, now, now)) |
| 2422 | { | 2422 | { |
| 2423 | /* Restore original attributes. */ | 2423 | /* Restore original attributes. */ |