summaryrefslogtreecommitdiff
path: root/lib/libedit
AgeCommit message (Collapse)Author
2004-08-23Fix fgetln handling and always increment the size if we need to realloc,Otto Moerbeek
Based on a diff by kjell@; latter hunk from a diff by Sergey S. Kostyliov. ok kjell@ canacar@
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
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
2004-04-14remove an extra occurence of the word `succeeds'Jean-Francois Brousseau
ok jmc@
2003-11-25Sync libedit to NetBSD libedit as of Nov 8, 2003.Otto Moerbeek
Tested by jmc@ djm@ and myself
2003-11-03encourage people to link with -lcurses rather than -ltermcap;Jason McIntyre
.Xr curses in SEE ALSO, suggested by otto@; ok otto@
2003-11-01Fix typo, which was already spotted by jmc@, but missing in the previousOtto Moerbeek
commit.
2003-11-01Complete incomplete H_ADD description.Otto Moerbeek
Spotted and ok by jmc@
2003-11-01Sync command table to code. Spotted by jmc@.Otto Moerbeek
2003-10-31Typo fix from Dries Schellekens <gwyllion at ace dot ulyssis dot org>.Otto Moerbeek
10x
2003-10-31Man pages fixes from jmc@Otto Moerbeek
2003-10-31Update to NetBSD libedit (from Oct 1, 2003), adding some stringOtto Moerbeek
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@
2003-10-22emptry -> empty; from Jared YanovichJason McIntyre
2003-08-11failure to deal with realloc nicely; spotted by Jonas.Munsin@teleste.com,Theo de Raadt
few more changes by millert
2003-08-08functions should link with -lcurses, not -ltermcap;Jason McIntyre
pointed out by millert@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-01Correct string bounds; spotted by avsm@'s bounds checker.Miod Vallat
ok krw@ rohee@
2003-05-23- typosJason McIntyre
- whitespace at EOL - new sentence, new line
2003-05-10typo;Jason McIntyre
2003-05-01is -Wall clean by making rcsid constAnil Madhavapeddy
2003-04-05strcpy/strcat -> strlcpy/strlcatThierry Deval
ok tedu@, hints by deraadt@ and millert@
2003-03-11files with dead .Xr's;Jason McIntyre
left .Xr, but removed man page number as suggested by mpech@ more help and ok millert@
2003-03-06.Xr typos;Jason McIntyre
ok deraadt@
2002-12-03Crank all library major numbers. Needed due to the fact that weTodd C. Miller
now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
2002-11-29riduculous spelling; torh@bogus.netTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-06mark more signals that I cannot fixTheo de Raadt
2001-04-13Another case where we need to use u_char, not char for arrayTodd C. Miller
subscripts to avoid buf[-1] problems. Also add a missing include of unistd.h. OK'd by Theo
2001-04-13signess bug; jwaterman@yaleroad.comTheo de Raadt
2000-06-28restrict editrc lookup to home directory, thanks kris@freebsd.org. ok deraadt@Dug Song
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-03-14Suffix "i.e." and "e.g." with a comma. Just another really picky man pageAaron Campbell
commit, as we want our documentation to be as consistently formatted as possible (it's getting there :-)).
1999-09-23Typo fixes.Alex Feldman
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-07-07when using `-' as a negative sign, escape it with a backslash so troff knowsAaron Campbell
it's not supposed to be a hyphen/dash
1999-07-07The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.Aaron Campbell
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-05-16Cleanup xrefs under SEE ALSO. Specifically:Alex Feldman
- Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
1999-05-12builtin -> built-inAaron Campbell
1999-02-27make function names the correct caseTheo de Raadt
1999-01-05fix misleading protoDavid Leonard
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-08-16deal with realloc/malloc failure and don't trash old pointer if realloc failsTodd C. Miller
1998-07-24-lcurses, not termcap/termlibTodd C. Miller
1997-08-20Make this compile is FIONREAD is defined. Guess this wasTodd C. Miller
never tested. Closed NetBSD PR#4012 from David Holland <dholland@bordeaux.eecs.harvard.edu>.
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-03buffer overflow on 64-bit archs fixedNiklas Hallqvist
1997-06-29Updates from NetBSD (christos@netbsd.org)Todd C. Miller
* Portability fixes: __const -> const BADSIG -> SIG_ERR int flags -> u_int flags #if __STDC__ -> #ifdef __STDC__ * Don't allow CSWTCH to interfere with CSUSP on __SVR4 systems. * Return -1 if the terminal set operation resulted in dumb terminal settings. * Handle properly the case where the last line in the sourced file does not have a trailing '\n'. From Jeffrey C Honig. * editrc -> editline in editline(3)
1997-06-10Change a long to and int.Todd C. Miller