summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/decode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-1/+1
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* little bit more KNFderaadt2016-09-171-4/+4
|
* style(9) includesmmcc2016-03-161-1/+1
| | | | ok nicm@
* use (off_t)-1 rather than a BAD_LSEEK wrapperderaadt2015-11-091-1/+1
|
* error() is not a stdarg function, so there is no reason for NULL_PARGderaadt2015-11-091-3/+3
| | | | to be special. Simply use NULL.
* cleanup struct definitionsderaadt2015-11-091-2/+1
|
* do not need wrappers around O_RDONLY and suchderaadt2015-11-091-1/+1
|
* replace save() with estrdup() and make estrdup() exit like all the othertedu2015-11-071-2/+2
| | | | | ecalloc, etc. functions do. ok mmcc nicm
* Remove support for ! to run a shell command, we have ^Z around thesenicm2015-11-061-1/+0
| | | | parts. ok ratchov jung millert
* Garrett D'Amore has agreed to moving his copyright line up above thenicm2015-11-061-4/+2
| | | | | terms with the existing copyright, so it is clear it applies the same terms.
* whitespacederaadt2015-11-051-2/+2
|
* Replace less with the cleaned-up fork of less 458 maintained by Garrettnicm2015-11-051-344/+288
| | | | | | | | | | | | | D'Amore at https://github.com/gdamore/less-fork. This has significantly less portability goop, has a tidied up code style, uses terminfo instead of termcap, and is has stricter POSIX compliance. Many of our local changes have been accepted upstream: substantial remaining local changes are code to read help files from /usr/share rather than compiling them in, man page and help improvements, and some tweaks to the default options. Review and testing by millert, ok deraadt
* Merge Less 458 plus local patchesshadchin2014-04-251-3/+3
| | | | ok guenther@, ok jmc@ for man bits
* Merge in less 444 plus local changesshadchin2011-09-161-3/+6
| | | | ok nicm@
* use SEEK_* for lseek()deraadt2006-04-021-1/+1
|
* Merge in less-381 w/ local changes and remove obsolete files.millert2003-04-131-76/+258
|
* kill more registersmpech2001-11-191-14/+14
| | | | millert@ ok
* $OpenBSD$niklas2001-01-291-0/+2
|
* Import of unmolested less-290.etheisen1996-09-211-0/+654