From d77fbc162b1446b340e2792beeb001ecb1f6f60d Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 11 Dec 2001 21:13:53 +0000 Subject: [PATCH] (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if arg is negative. --- src/ChangeLog | 5 +++++ src/insdel.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1f3feaadc04..d20e0eea92a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-12-11 Andrew Innes + + * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if + arg is negative. + 2001-12-11 Richard M. Stallman * m/hp800.h: Split the __hpux conditional into the parts diff --git a/src/insdel.c b/src/insdel.c index db5cd98a487..efc6aa44b6e 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -632,7 +632,7 @@ make_gap (nbytes_added) { if (nbytes_added >= 0) make_gap_larger (nbytes_added); -#if defined (USE_MMAP_FOR_BUFFERS) || defined (REL_ALLOC) +#if defined USE_MMAP_FOR_BUFFERS || defined REL_ALLOC || defined DOUG_LEA_MALLOC else make_gap_smaller (-nbytes_added); #endif -- 2.39.5