From d9c5ee320c798b3c8d4af2c0e5f180f41d3894a1 Mon Sep 17 00:00:00 2001 From: Camm Maguire Date: Thu, 11 Aug 2022 18:16:42 +0100 Subject: [PATCH] TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. gcl (2.6.12-85) unstable; urgency=medium * Version_2_6_13pre81 Gbp-Pq: Name Version_2_6_13pre82 --- o/alloc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/o/alloc.c b/o/alloc.c index f8470e6..0343ab7 100644 --- a/o/alloc.c +++ b/o/alloc.c @@ -349,9 +349,10 @@ resize_hole(ufixnum hp,enum type tp,bool in_placep) { char *start=rb_begin(),*new_start=heap_end+hp*PAGESIZE; ufixnum size=rb_pointer-start; +#define OVERLAP(c_,t_,s_) ((t_)<(c_)+(s_) && (c_)<(t_)+(s_)) if (!in_placep && (rb_high() ? - new_start+size>rb_end : - new_start+(nrbpage<s.s_dbind != Cnil) -- 2.30.2