[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] extended xmalloc.c
From: |
Paul Eggert |
Subject: |
Re: [Bug-gnulib] extended xmalloc.c |
Date: |
11 Oct 2003 14:24:03 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Dave Love <address@hidden> writes:
> Actually, Emacs could use that file if it DTRT.
Yes, that was the idea.
> > So, how about the patch enclosed below instead? It attacks the
> > problem systematically, by making the change at the
> > malloc/free/etc. level. This change shouldn't affect current
> > consumers
>
> If you don't think anything other than Emacs might want this (which
> surprises me), I think this is irrelevant. Emacs presumably isn't
> going to call those things (and it shouldn't, since it distinguishes
> malloc and xmalloc).
OK, how about this idea instead, then? If some GNU program other than
Emacs ever needs the feature where malloc can't be called reentrantly,
then we can worry about integrating that feature into gnulib; until
then we can leave sleeping dogs lie.
- Re: [Bug-gnulib] extended xmalloc.c,
Paul Eggert <=