Robert Millan wrote: > This is troublesome. Imagine you have a large application whose behaviour > relies on a specific behaviour of xmalloc. It is out of the question to > change how this xmalloc will work. > > Now imagine you want to use libreadline in this program, and it turns out > your xmalloc breaks it completely. > > Is there any reasonable solution to this?
This hasn't been a problem to date. As a practical matter, I think the xmalloc/xrealloc interfaces appear in enough Gnu software to have well- known interfaces. As I said, I want other Gnu software (e.g., bash) to be able to override the readline definitions of xmalloc and xrealloc and have all their `application-space' (non-libc) memory allocation go through a single interface. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-readline mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-readline
