bug-inetutils
[Top][All Lists]
Advanced

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

Re: [bug-inetutils] Re: ftp: command processing


From: Debarshi 'Rishi' Ray
Subject: Re: [bug-inetutils] Re: ftp: command processing
Date: Fri, 31 Aug 2007 09:15:42 +0530

> Nitpick, that should be HAVE_LIBHISTORY, there is no guarantee that
> add_history is part of libreadline.  And the check should check for
> add_history in libreadline _and_ libhistory.

I am confused.

I have /usr/include/readline/history.h and /usr/lib/libhistory.so on
my GNU/Linux system, and the former has the prototype for add_history.
However Inetutils does not #include <readline/history.h>, nor does any
of the files in /usr/include/readline #include "history.h".

So where is the prototype for add_history coming from in Inetutls?
Should not we refer to history.h and/or -lhistory too as just as we do
for readline.h and -lreadline?

Secondly, is it possible for add_history to be in libreadline.so
instead of libhistory.so on GNU systems? Or in other terms why should
we check for add_history in both libreadline _and_ libhistory?

Happy hacking,
Debarshi
-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu




reply via email to

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