diff options
| author | Eli Zaretskii | 2013-02-27 20:37:31 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-02-27 20:37:31 +0200 |
| commit | 531e70eca4c3bcd44942a67f5ea1a8bb1cb41dad (patch) | |
| tree | 96029f04b4bb10fb348e94d7707edb61e1017d50 /src/ChangeLog | |
| parent | f2c884009053be5a380a55cf2dec226fc686286c (diff) | |
| download | emacs-531e70eca4c3bcd44942a67f5ea1a8bb1cb41dad.tar.gz emacs-531e70eca4c3bcd44942a67f5ea1a8bb1cb41dad.zip | |
Fix race conditions with MS-Windows lock files by using _sopen.
src/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.
Fixes: debbugs:13807
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f5617487fda..4135dadf28a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-02-27 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * filelock.c (create_lock_file) [WINDOWSNT]: Use _sopen with | ||
| 4 | _SH_DENYRW flag, instead of emacs_open, to deny any other process | ||
| 5 | access to the lock file until it is written and closed. | ||
| 6 | (Bug#13807) | ||
| 7 | |||
| 1 | 2013-02-27 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2013-02-27 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | * callint.c (Qcall_interactively): | 10 | * callint.c (Qcall_interactively): |