From xemacs-m  Tue Mar 18 20:59:50 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA18237
	for <xemacs-beta@xemacs.org>; Tue, 18 Mar 1997 20:59:49 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id TAA32724;
	Tue, 18 Mar 1997 19:11:34 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: relocating allocator?
References: <199703190029.QAA14028@roy> <QQchmd19318.199703190146@crystal.WonderWorks.COM>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Kyle Jones's message of Tue, 18 Mar 1997 20:46:11 -0500 (EST)
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 18 Mar 1997 19:11:26 -0800
Message-ID: <m2n2s0podd.fsf@altair.xemacs.org>
Lines: 19
X-Mailer: Gnus v5.4.30/XEmacs 20.1(beta9)

Kyle Jones writes:

jwz wrote 3 years ago:
>     A side-effect of REL_ALLOC is that any call to malloc ***even in
>     a library routine*** can cause buffer->text.beg to be relocated
>     (and cause the ptr in text.beg, and only that ptr, to point to
>     the new place.)

 ...

> I never found out if someone did a sweep of the code to look for such
> caching of b->text.beg.  Because I don't know, I have built XEmacs
> with --rel-alloc=no since then.

Ack!  Does QUIT ever call malloc?  There are multiple places in
insdel.c where this pointer gets cached and used around calls to QUIT.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

