HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f14781
)
(Fcopy_file): Fix last change.
author
Jason Rumney
<jasonr@gnu.org>
Sat, 9 Mar 2002 10:20:18 +0000
(10:20 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sat, 9 Mar 2002 10:20:18 +0000
(10:20 +0000)
src/fileio.c
patch
|
blob
|
blame
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index
bb39f2a
..
6abf102
100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2417,7
+2417,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. */