Commit 0ace05d3 authored by Eli Zaretskii's avatar Eli Zaretskii

Improve commentary for the last commit.

parent 0d9f584b
......@@ -3953,6 +3953,9 @@ utime (const char *name, struct utimbuf *times)
/* Need write access to set times. */
fh = CreateFile (name, FILE_WRITE_ATTRIBUTES,
/* If NAME specifies a directory, FILE_SHARE_DELETE
allows other processes to delete files inside it,
while we have the directory open. */
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
0, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL);
if (fh != INVALID_HANDLE_VALUE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment