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/ChangeLog | |
| 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/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d9e566eae69..542b2c0174a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2012-12-06 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix a recently-introduced delete-process race condition. | ||
| 4 | * callproc.c, process.h (record_kill_process): | ||
| 5 | New function, containing part of the old call_process_kill. | ||
| 6 | (call_process_kill): Use it. | ||
| 7 | This does not change call_process_kill's behavior. | ||
| 8 | * process.c (Fdelete_process): Use record_kill_process to fix a | ||
| 9 | race condition that could cause Emacs to lose track of a child. | ||
| 10 | |||
| 1 | 2012-12-06 Dmitry Antipov <dmantipov@yandex.ru> | 11 | 2012-12-06 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 12 | ||
| 3 | Avoid code duplication between prev_frame and next_frame. | 13 | Avoid code duplication between prev_frame and next_frame. |