summaryrefslogtreecommitdiffstats
path: root/lib/libedit/el.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge NetBSD changes, among them:stefanf2007-06-101-1/+2
| | | | | | | | | | | | | | el.c 1.44, el.h 1.17, editline.3 1.53, histedit.h 1.31: # add EL_GETFP, and EL_SETFP. el.c 1.42, term.c 1.46, term.h 1.18, editline.3 1.52, histedit.h 1.29: # - Add more readline functions, enough for gdb-6.5 # - Make el_get varyadic, and implement EL_GETTC. # - XXX: the EL_SETTC api will change in the future. Note: The latter change breaks the ABI of the el_get() function. Approved by: re (kensmith)
* Sync libedit with recent NetBSD developments. Including improvements to thestefanf2005-08-071-15/+20
| | | | | | | vi-mode, removal of clause 3, cleanups and the export of the tokenization functions. Not included: config.h, filecomplete.{c,h}
* Revert the replacement of realloc() with reallocf() (el.h:1.2, map.c:1.5 andstefanf2005-08-071-1/+0
| | | | | | tokenizer.c:1.3). Contrary to the commit log there were no memory leaks, but the change introduced a bug because the free'd pointer was not zeroed and calling the appropriate _end() function would call free() a second time.
* + Sync with NetBSD, bringing in feature enhancements.obrien2001-10-011-41/+54
| | | | | | | + Convert to ANSI-C function definitions + style(9) Submitted by: kris
* Add 2 functions: el_data_set() and el_data_get() which do what youmdodd1999-08-201-0/+2
| | | | | | | | would expect. (Allow user data to be associated with an EditLine context). As this changes no existing interfaces and doesn't alter any structs visable to the user I've been told that its not necessary to bump the version of the library.
* Replace memory leaking instances of realloc with non-leaking reallocf.imp1998-09-161-0/+1
| | | | | | | | | | | In some cases replace if (a == null) a = malloc(x); else a = realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is guaranteed to be the same thing. I've been running these on my system here w/o ill effects for some time. However, the CTM-express is at part 6 of 34 for the CAM changes, so I've not been able to do a build world with the CAM in the tree with these changes. Shouldn't impact anything, but...
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+129
OpenPOWER on IntegriCloud