Mercurial > emacs
diff src/insdel.c @ 39639:f5ac153e5b5c
(make_gap): Use MOST_POSITIVE_FIXNUM.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 06 Oct 2001 23:46:55 +0000 |
parents | 796039437953 |
children | 5f60884970a8 |
line wrap: on
line diff
--- a/src/insdel.c Sat Oct 06 23:44:55 2001 +0000 +++ b/src/insdel.c Sat Oct 06 23:46:55 2001 +0000 @@ -539,7 +539,7 @@ That won't work because so many places use `int'. */ if (Z_BYTE - BEG_BYTE + GAP_SIZE + nbytes_added - >= ((unsigned) 1 << (min (BITS_PER_INT, VALBITS) - 1))) + >= MOST_POSITIVE_FIXNUM) error ("Buffer exceeds maximum size"); enlarge_buffer_text (current_buffer, nbytes_added);