bug-gnulib
[Top][All Lists]
Advanced

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

Re: Opening a can of worms: a readline gnulib module?


From: Simon Josefsson
Subject: Re: Opening a can of worms: a readline gnulib module?
Date: Fri, 12 Aug 2005 14:16:55 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Simon Josefsson wrote:
>> I installed the patch below.  It builds on the same platforms, but now
>> finds the readline library properly on Fedora too.
>> ...
>> checking for readline... yes
>> checking how to link with libreadline... -lreadline -ltermcap
>
> This is a problem because libtermcap is unsecure by design. (It has APIs
> where the caller must allocate a buffer and doesn't tell the callee how
> large the buffer is.) Therefore libncurses is to be preferred over
> libtermcap. If you leave the macro as is, it will lead to rpms of some
> packages that force users to install the termcap rpm.
>
> I installed this patch.

Thanks!  Looks good.




reply via email to

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