diff options
| author | Dmitry Antipov | 2013-08-26 09:32:47 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-08-26 09:32:47 +0400 |
| commit | de3967312fb2f6c5cb217c3497ad7b4f56e46458 (patch) | |
| tree | fbca05360c8c0769246be71b5100b279b0a9fdd2 /src/ChangeLog | |
| parent | 1570ae92dcd05e68509aff5a68d091af9a653c88 (diff) | |
| download | emacs-de3967312fb2f6c5cb217c3497ad7b4f56e46458.tar.gz emacs-de3967312fb2f6c5cb217c3497ad7b4f56e46458.zip | |
Fix recovering from possible decompression error. Since
insert_from_gap doesn't always move point, we can't use PT as
the position where the partially decompressed data ends, and
should count how may bytes was produced so far.
* decompress.c (struct decompress_unwind_data): Add nbytes member.
(unwind_decompress): Really delete partially uncompressed data.
(Fzlib_decompress_region): Take decompressed data size into account.
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 f2bb1feb2c2..e4dcfffa02f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,15 @@ | |||
| 1 | 2013-08-26 Dmitry Antipov <dmantipov@yandex.ru> | 1 | 2013-08-26 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 2 | ||
| 3 | Fix recovering from possible decompression error. Since | ||
| 4 | insert_from_gap doesn't always move point, we can't use PT as | ||
| 5 | the position where the partially decompressed data ends, and | ||
| 6 | should count how may bytes was produced so far. | ||
| 7 | * decompress.c (struct decompress_unwind_data): Add nbytes member. | ||
| 8 | (unwind_decompress): Really delete partially uncompressed data. | ||
| 9 | (Fzlib_decompress_region): Take decompressed data size into account. | ||
| 10 | |||
| 11 | 2013-08-26 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 12 | |||
| 3 | * syntax.c (init_syntax_once): Adjust comment and do an early | 13 | * syntax.c (init_syntax_once): Adjust comment and do an early |
| 4 | initialization of Qchar_table_extra_slots just once... | 14 | initialization of Qchar_table_extra_slots just once... |
| 5 | * casetab.c (init_casetab_once): | 15 | * casetab.c (init_casetab_once): |