diff options
| author | Paul Eggert | 2012-12-05 23:31:58 -0800 |
|---|---|---|
| committer | Paul Eggert | 2012-12-05 23:31:58 -0800 |
| commit | 35fb8050457a0edc6a09f38fb1dd84a9c7732352 (patch) | |
| tree | 563dbd821a3efc83e6ad71c7f6a0dc21f26c8c5b /src/buffer.c | |
| parent | 565212e5983cdcc478ed34bcdbd63f154e5e418f (diff) | |
| download | emacs-35fb8050457a0edc6a09f38fb1dd84a9c7732352.tar.gz emacs-35fb8050457a0edc6a09f38fb1dd84a9c7732352.zip | |
Fix a recently-introduced delete-process race condition.
* callproc.c, process.h (record_kill_process):
New function, containing part of the old call_process_kill.
(call_process_kill): Use it.
This does not change call_process_kill's behavior.
* process.c (Fdelete_process): Use record_kill_process to fix a
race condition that could cause Emacs to lose track of a child.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions