/[emacs]/emacs/src/fileio.c
ViewVC logotype

Diff of /emacs/src/fileio.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.414.4.1 by jasonr, Sat Mar 9 00:43:06 2002 UTC revision 1.414.4.2 by jasonr, Sat Mar 9 10:16:40 2002 UTC
# Line 2350  A prefix arg makes KEEP-TIME non-nil.") Line 2350  A prefix arg makes KEEP-TIME non-nil.")
2350    
2351        /* Ensure file is writable while its modified time is set.  */        /* Ensure file is writable while its modified time is set.  */
2352        attributes = GetFileAttributes (filename);        attributes = GetFileAttributes (filename);
2353        SetFileAttributes (filename, attributes ^ FILE_ATTRIBUTE_READONLY);        SetFileAttributes (filename, attributes & ~FILE_ATTRIBUTE_READONLY);
2354        if (set_file_times (filename, now, now))        if (set_file_times (filename, now, now))
2355          {          {
2356            /* Restore original attributes.  */            /* Restore original attributes.  */

Legend:
Removed from v.1.414.4.1  
changed lines
  Added in v.1.414.4.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26