[Top][All Lists]

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

[Bug-readline] Re: [bug-inetutils] inetutils-1.8: ftp build error

From: Chet Ramey
Subject: [Bug-readline] Re: [bug-inetutils] inetutils-1.8: ftp build error
Date: Sun, 25 Jul 2010 16:34:20 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

On 7/25/10 2:38 PM, Paul Eggert wrote:
> xmalloc etc. are commonly used names in GNU applications, regardless of
> whether the apps are gnulib-based; for example, Emacs and GCC both have
> their own xmalloc, independent of gnulib.  It would be nicer if readline
> were compatible with this common usage, without application developers
> having to do something unusual in order to have their own xmalloc.
> At the very least, if it's really intended for GNU readline to usurp
> common names like xmalloc, its documentation should explain how to
> work around the problem without having to rename the app's own xmalloc.

That's not the problem.  Bash has its own xmalloc, too.  The recommended
way to do this is to have the application supply its own xmalloc.

Readline is GNU software, and uses xmalloc/xrealloc in the same way as
other GNU software.  It supplies fallback implementations for those
applications that don't provide the functions.  Applications that do
can easily override the readline definitions.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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