Subject: lib/30747: libedit is missing remove_history()
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <williams@umich.edu>
List: netbsd-bugs
Date: 07/14/2005 14:07:00
>Number: 30747
>Category: lib
>Synopsis: libedit is missing remove_history()
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Jul 14 14:07:00 +0000 2005
>Originator: David N. Williams
>Release: Darwin 8.2
>Organization:
University of Michigan
>Environment:
Darwin pm476-24.dialip.mich.net 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc
>Description:
I have made the equivalent of this request to Apple, but
apparently the NetBSD libedit library is the primary source.
Could you please add the equivalent of the function
remove_history() to libedit, with a prototype in readline.h or
history.h as appropriate? The function add_history() is already
present, so it seems logical to implement remove_history() as
well. Both are present in recent versions of GNU readline.
Inspection of the GNU source for the readline library shows
remove_history() to be pretty simple, maybe simple enough that
its expression is inevitable, so maybe nothing special has to be
done to avoid contamination by the GPL. But I am not a lawyer.
The immediate occasion for this request is an attempt to build
the very nice open source plotting package asymptote-0.82 in Mac
OS X (Tiger). It uses remove_history(), and builds fine when
the reference to it is removed, at the expense of a little
crippling of functionality.
Thanks,
David N. Williams
>How-To-Repeat:
>Fix: