# HG changeset patch # User Gerd Moellmann # Date 1002412015 0 # Node ID f5ac153e5b5ce5eb4b41fe8f3989f9c7dbbad5a0 # Parent 911382113c160909bec9949616ac9541b93e94c6 (make_gap): Use MOST_POSITIVE_FIXNUM. diff -r 911382113c16 -r f5ac153e5b5c src/insdel.c --- 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);