[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c |
Date: |
Tue, 09 Apr 2002 03:42:06 -0400 |
Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.441 emacs/src/fileio.c:1.442
*** emacs/src/fileio.c:1.441 Fri Mar 8 19:35:13 2002
--- emacs/src/fileio.c Sat Mar 9 05:20:18 2002
***************
*** 2417,2423 ****
/* Ensure file is writable while its modified time is set. */
attributes = GetFileAttributes (filename);
! SetFileAttributes (filename, attributes ^ FILE_ATTRIBUTE_READONLY);
if (set_file_times (filename, now, now))
{
/* Restore original attributes. */
--- 2417,2423 ----
/* Ensure file is writable while its modified time is set. */
attributes = GetFileAttributes (filename);
! SetFileAttributes (filename, attributes & ~FILE_ATTRIBUTE_READONLY);
if (set_file_times (filename, now, now))
{
/* Restore original attributes. */
- [Emacs-diffs] Changes to emacs/src/fileio.c,
Kenichi Handa <=