bug-inetutils
[Top][All Lists]
Advanced

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

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


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

On 7/25/10 10:33 AM, Alfred M. Szmidt wrote:
>    > This is a known bug, the reason if I recall is that readline
>    > exports xmalloc and xrealloc is to allow programs to hook their
>    > own version into readline.  So the readline maintainer has
>    > declined any fixes for this.
> 
>    This is a severe bug. It makes readline useless for any project
>    that uses gnulib.

Maybe.  There are workarounds, as I detailed in a message to bug-readline
in June.

Another problem is that gnulib has significantly expanded the scope of
the xmalloc/xrealloc/xfree interface.  The source file that defines
those also defines half a dozen other functions: x2realloc, xzalloc, etc.
It also calls those functions internally, requiring the source file to be
linked in whether or not the application calls any of them directly.  I
don't consider this good interface design.  Readline defines only
xmalloc/xrealloc/xfree.  That's an acceptably small footprint, though I
could also see adding xcalloc.

Chet
-- 
``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]