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:
0d9f584
)
Improve commentary for the last commit.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 5 Oct 2012 09:21:51 +0000
(11:21 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 5 Oct 2012 09:21:51 +0000
(11:21 +0200)
src/w32.c
patch
|
blob
|
blame
|
history
diff --git
a/src/w32.c
b/src/w32.c
index
5809e3f
..
f17c06e
100644
(file)
--- a/
src/w32.c
+++ b/
src/w32.c
@@
-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)