diff options
| author | Eli Zaretskii | 2011-04-29 22:47:29 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-04-29 22:47:29 +0300 |
| commit | 15cbd324fd48e47abd57b8d92c3406c866169d21 (patch) | |
| tree | aa05b809dcec4391837ac2f4a41d1b8fdc93cbc2 /src/coding.h | |
| parent | ae940ccad19a554e1134b7ae443716e46c72366d (diff) | |
| download | emacs-15cbd324fd48e47abd57b8d92c3406c866169d21.tar.gz emacs-15cbd324fd48e47abd57b8d92c3406c866169d21.zip | |
Lift the MOST_POSITIVE_FIXNUM/4 limitation on visited files (bug#8528).
src/fileio.c (Finsert_file_contents): Don't limit file size to 1/4
of MOST_POSITIVE_FIXNUM.
src/coding.c (coding_alloc_by_realloc): Error out if destination
will grow beyond MOST_POSITIVE_FIXNUM.
(decode_coding_emacs_mule): Abort if there isn't enough place in
charbuf for the composition carryover bytes. Reserve an extra
space for up to 2 characters produced in a loop.
(decode_coding_iso_2022): Abort if there isn't enough place in
charbuf for the composition carryover bytes.
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions