summaryrefslogtreecommitdiffstats
path: root/lib/libedit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan2012-08-021-2/+1
| | | | ok guenther@
* Don't segfault when trying to bind to an invalid command. While here,pascal2011-11-272-6/+7
| | | | | | kill a C++-style comment. ok nicm@
* Calculate the size for the wchar_t argv correctly, fixes memorynicm2011-11-171-8/+9
| | | | | | | | corruption reported by LEVAI Daniel <leva at ecentrum dot hu>. Also rename "bytes" to "wlen" since bytes is not accurate, suggested by stsp@. ok stsp oga
* Reintroduce lost local diff; detective work by matthew@; ok okan@ oga@otto2011-07-131-5/+16
| | | | all hail the more strict malloc S flag!
* el_set EL_BIND or EL_SETTC must have argument lists ending with NULL.nicm2011-07-081-5/+5
| | | | ok tedu
* Enable wide character functions in libedit (not the other libe*t).nicm2011-07-073-14/+79
| | | | ok stsp deraadt
* sync with upstream, retaining local modifications.okan2011-07-0717-230/+280
| | | | ok nicm@
* No need for files generated by depend.okan2011-06-258-520/+0
| | | | ok nicm@
* lots of back things happening in this signal handler, but at leastderaadt2011-06-031-2/+3
| | | | | start to clean up the simple stuff ok nicm
* Make wcwidth() callers cope with -1 return value. Doesn't affect the build yet.stsp2011-04-042-4/+8
| | | | ok nicm
* netbsd -r1.75: Fix argument for EL_EDITOR; from Jess Thrysoeejmc2011-03-021-3/+3
| | | | ok nicm
* Don't leak the fd returned by mkstemp in vi_histedit error paths.nicm2010-10-231-2/+7
| | | | From zinovik.
* observe the following spelling:jmc2010-09-101-3/+3
| | | | | | | | | - wide character (noun) - wide-character (adjective) this is the "fix of least resistance", and appears to be in line with posix style; a tiny fix still needed for curses, but i'll mail that upstream;
* there's no tcsh page in base, so don;t bother xr'ing it;jmc2010-06-301-6/+3
|
* tweak previous;jmc2010-06-301-4/+2
|
* Update libedit to bring it into sync with the latest version from NetBSD.nicm2010-06-3056-2365/+5824
| | | | ok deraadt
* Document return values, based on a diff from Ross Richardson.nicm2010-05-141-3/+8
| | | | ok jmc
* another Os out of order;jmc2010-05-091-2/+2
|
* Document that el_init can return NULL on failure, PR 6374 from rueda atnicm2010-05-091-3/+5
| | | | | | devio.us. ok jmc
* ellipses are not optional arguments; while here, fix a double .Ar/.Arsobrado2010-01-251-3/+3
| | | | | | in the roff source. ok jmc@
* fix double full stop, find out by jmc@ when looking into another issue.sobrado2010-01-251-3/+3
|
* Fix two memory leaks, one found by parfait, one by myself.jacekm2009-12-111-14/+35
| | | | ok deraadt@
* a few leftovers from yesterday's SCCS/RCS-ID removal;schwarze2009-10-281-2/+1
| | | | | survived a full make build on i386; "sure" deraadt@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-2720-163/+20
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* fix rcs ids. ok sthen@martynas2009-06-211-2/+2
|
* typo fixed (overriden -> overridden)tobias2008-11-091-2/+2
| | | | ok espie, jmc
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-265-42/+7
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* convert to new .Dd format;jmc2007-05-312-4/+4
|
* advertising clauses that can be droppedderaadt2007-01-081-6/+2
|
* use WANTLINT= (on all architectures)deraadt2005-11-241-1/+2
|
* use asprintf()deraadt2005-11-141-5/+2
|
* add el_get() to the Nm list;jmc2005-10-111-1/+2
|
* double word typos;jmc2005-09-091-2/+2
| | | | from alexey e. suslikov;
* Make signal handler safe. From Michael Knudsen, many thanks.otto2005-05-221-5/+11
|
* Fix fgetln handling and always increment the size if we need to realloc,otto2004-08-232-23/+38
| | | | | Based on a diff by kjell@; latter hunk from a diff by Sergey S. Kostyliov. ok kjell@ canacar@
* errno changes, lib major version bumps, and general flag daymarc2004-07-131-4/+1
| | | | | | | To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
* remove an extra occurence of the word `succeeds'jfb2004-04-141-2/+2
| | | | ok jmc@
* Sync libedit to NetBSD libedit as of Nov 8, 2003.otto2003-11-2520-496/+909
| | | | Tested by jmc@ djm@ and myself
* encourage people to link with -lcurses rather than -ltermcap;jmc2003-11-031-3/+4
| | | | | | .Xr curses in SEE ALSO, suggested by otto@; ok otto@
* Fix typo, which was already spotted by jmc@, but missing in the previousotto2003-11-011-2/+2
| | | | commit.
* Complete incomplete H_ADD description.otto2003-11-011-2/+6
| | | | Spotted and ok by jmc@
* Sync command table to code. Spotted by jmc@.otto2003-11-011-5/+27
|
* Typo fix from Dries Schellekens <gwyllion at ace dot ulyssis dot org>.otto2003-10-311-2/+2
| | | | 10x
* Man pages fixes from jmc@otto2003-10-312-30/+22
|
* Update to NetBSD libedit (from Oct 1, 2003), adding some stringotto2003-10-3145-8933/+12701
| | | | | | | | | | | | | | | | | | 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@
* emptry -> empty; from Jared Yanovichjmc2003-10-221-2/+2
|
* failure to deal with realloc nicely; spotted by Jonas.Munsin@teleste.com,deraadt2003-08-111-10/+12
| | | | few more changes by millert
* functions should link with -lcurses, not -ltermcap;jmc2003-08-081-3/+3
| | | | pointed out by millert@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0236-235/+91
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Correct string bounds; spotted by avsm@'s bounds checker.miod2003-06-011-6/+6
| | | | ok krw@ rohee@