diff options
| author | Eli Zaretskii | 2014-05-29 17:52:47 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-05-29 17:52:47 +0300 |
| commit | 0bbb27fc3f52f87605cfadba62d52b72523b73a5 (patch) | |
| tree | facc4efc43f9ab259ab7f26c0bdb44afe52f9c0c /src/ChangeLog | |
| parent | 609b06a0a1649b9bbcc6ffe0ac96a4192f855603 (diff) | |
| download | emacs-0bbb27fc3f52f87605cfadba62d52b72523b73a5.tar.gz emacs-0bbb27fc3f52f87605cfadba62d52b72523b73a5.zip | |
Fix bug #17622 with crashes in mmap routines.
src/buffer.c (init_buffer): Accept an argument 'initialized'.
[USE_MMAP_FOR_BUFFERS]: If 'initialized' is non-zero, reset
mmap_regions and mmap_fd, to avoid referencing stale data from the
dump phase. Add an assertion for buffer text of buffers created
in temacs before this function is called.
(mmap_regions_1, mmap_fd_1): Remove unused variables.
src/lisp.h (init_buffer): Update prototype.
src/emacs.c (main): Pass 'initialized' as the argument to init_buffer.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7665ccb7083..33b8257cc1c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2014-05-29 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * buffer.c (init_buffer): Accept an argument 'initialized'. | ||
| 4 | [USE_MMAP_FOR_BUFFERS]: If 'initialized' is non-zero, reset | ||
| 5 | mmap_regions and mmap_fd, to avoid referencing stale data from the | ||
| 6 | dump phase. Add an assertion for buffer text of buffers created | ||
| 7 | in temacs before this function is called. (Bug#17622) | ||
| 8 | (mmap_regions_1, mmap_fd_1): Remove unused variables. | ||
| 9 | |||
| 10 | * lisp.h (init_buffer): Update prototype. | ||
| 11 | |||
| 12 | * emacs.c (main): Pass 'initialized' as the argument to init_buffer. | ||
| 13 | |||
| 1 | 2014-05-29 Dmitry Antipov <dmantipov@yandex.ru> | 14 | 2014-05-29 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 15 | ||
| 3 | * alloc.c (Fgarbage_collect): Fix compilation with | 16 | * alloc.c (Fgarbage_collect): Fix compilation with |