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. */ |