OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Otto Moerbeek (ottocvs.openbsd.org)
Date: Fri Oct 31 2003 - 02:42:24 CST


CVSROOT: /cvs
Module name: src
Changes by: ottocvs.openbsd.org 2003/10/31 01:42:24

Modified files:
        lib/libedit : Makefile chared.c chared.h common.c editline.3
                         editrc.5 el.c el.h emacs.c hist.c hist.h
                         histedit.h history.c key.c key.h makelist map.c
                         map.h parse.c parse.h prompt.c prompt.h read.c
                         refresh.c refresh.h search.c search.h
                         shlib_version sig.c sig.h sys.h term.c term.h
                         tokenizer.c tokenizer.h tty.c tty.h vi.c
        lib/libedit/TEST: test.c
Added files:
        lib/libedit : config.h read.h readline.c
        lib/libedit/readline: Makefile readline.h
Removed files:
        lib/libedit : termcap.h

Log message:
Update to NetBSD libedit (from Oct 1, 2003), adding some string
cleaning and history bug fixes. The code includes GNU libreadline
functionality, but the corresponding header files are not installed,
since some libreadline functions are missing. There are some minor API
changes, notably:

old: EditLine *el_init(const char *, FILE *, FILE *);
new: EditLine *el_init(const char *, FILE *, FILE *, FILE *);

old: HistEvent *history(History *h, int op, ...);
new: int history(History *h, HistEvent *ev, int op, ...); plus some
changes in operation names. See editline(3) for details.

Tested by djm, mouring, jmc.

ok deraadt