]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Fix race conditions with MS-Windows lock files by using _sopen.
[gnu-emacs] / src / ChangeLog
index f5617487fdaa1bfd761157207bd2cc428415a8a4..4135dadf28a6d1547db7bedb292bc2fb54c84305 100644 (file)
@@ -1,3 +1,10 @@
+2013-02-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * filelock.c (create_lock_file) [WINDOWSNT]: Use _sopen with
+       _SH_DENYRW flag, instead of emacs_open, to deny any other process
+       access to the lock file until it is written and closed.
+       (Bug#13807)
+
 2013-02-27  Paul Eggert  <eggert@cs.ucla.edu>
 
        * callint.c (Qcall_interactively):