# HG changeset patch # User Richard M. Stallman # Date 805123216 0 # Node ID 533b6d02cf048a2ebb846f173c7fd8d48cfe4c74 # Parent 8b884d5e7b6a536a157bd293b801ff92489d25c2 Don't use relocatable allocator. diff -r 8b884d5e7b6a -r 533b6d02cf04 src/regex.c --- a/src/regex.c Thu Jul 06 05:42:45 1995 +0000 +++ b/src/regex.c Fri Jul 07 13:20:16 1995 +0000 @@ -260,7 +260,8 @@ /* Define how to allocate the failure stack. */ -#ifdef REL_ALLOC +#if defined (REL_ALLOC) && !defined (REGEX_MALLOC) + #define REGEX_ALLOCATE_STACK(size) \ r_alloc (&failure_stack_ptr, (size)) #define REGEX_REALLOCATE_STACK(source, osize, nsize) \ @@ -268,7 +269,7 @@ #define REGEX_FREE_STACK(ptr) \ r_alloc_free (&failure_stack_ptr) -#else /* not REL_ALLOC */ +#else /* not using relocating allocator */ #ifdef REGEX_MALLOC @@ -286,7 +287,7 @@ #define REGEX_FREE_STACK(arg) #endif /* not REGEX_MALLOC */ -#endif /* not REL_ALLOC */ +#endif /* not using relocating allocator */ /* True if `size1' is non-NULL and PTR is pointing anywhere inside