[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] emacs-25 ee04aed: Fix handling of buffer relocation in

From: Stefan Monnier
Subject: Re: [Emacs-diffs] emacs-25 ee04aed: Fix handling of buffer relocation in regex.c functions
Date: Mon, 24 Oct 2016 15:01:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> > I think we should consider these nits when we finish fixing the bugs
>> > due to relocation,
>> I think we should not fix those.  The constraints imposed by
>> a relocating malloc are too difficult to abide to IMO, so we should just
>> say no.
> It depends on how hard that is.  The last one I fixed was very easy.

How many of us know the constraints?  How many of those know them enough to
think about them when making changes?  How many of those get the answer
right when thinking about those problems?

It's a landmine, just like the gcpros were.

> More generally, as long as even a single platform we care about uses
> ralloc.c, I don't think we can leave those problems unfixed, because
> their effects are so nasty.

That's why I'm advocating getting rid of it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]