emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110370: Improve commentary for the l


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110370: Improve commentary for the last commit.
Date: Fri, 05 Oct 2012 11:21:51 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110370
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Fri 2012-10-05 11:21:51 +0200
message:
  Improve commentary for the last commit.
modified:
  src/w32.c
=== modified file 'src/w32.c'
--- a/src/w32.c 2012-10-05 09:17:17 +0000
+++ b/src/w32.c 2012-10-05 09:21:51 +0000
@@ -3953,6 +3953,9 @@
 
   /* 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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]