diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-26 09:32:47 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-26 09:32:47 +0400 |
commit | de3967312fb2f6c5cb217c3497ad7b4f56e46458 (patch) | |
tree | fbca05360c8c0769246be71b5100b279b0a9fdd2 /lisp/emacs-lisp/warnings.el | |
parent | 1570ae92dcd05e68509aff5a68d091af9a653c88 (diff) | |
download | emacs-de3967312fb2f6c5cb217c3497ad7b4f56e46458.tar.gz emacs-de3967312fb2f6c5cb217c3497ad7b4f56e46458.tar.bz2 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 'lisp/emacs-lisp/warnings.el')
0 files changed, 0 insertions, 0 deletions