summaryrefslogtreecommitdiff
path: root/usr.bin/less
AgeCommit message (Expand)Author
2015-12-09Remove NULL-check before free().mmcc
2015-11-23Update less(1) and lesskey(1) manuals for LESSCHARSET removaltb
2015-11-23Remove bug-less email address. From Michael Reed, thanks!tb
2015-11-23Don't shadow a function argument.Nicholas Marriott
2015-11-23Most of these functions can be static.Nicholas Marriott
2015-11-23Missing prototype.Nicholas Marriott
2015-11-23A couple more prototypes without arguments.Nicholas Marriott
2015-11-23Just use the default CDIAGFLAGS rather than defining our own.Nicholas Marriott
2015-11-23Fix function type arguments.Nicholas Marriott
2015-11-23$OpenBSD$Nicholas Marriott
2015-11-23less builds its programs one level lower, so we need a Makefile.inc hereTed Unangst
2015-11-23calling ioctl() requires include sys/ioctl.hTed Unangst
2015-11-21remove fancy null check function in favor of checking for null.Ted Unangst
2015-11-20wrapping an ioctl for TIOCGWINSZ inside #ifdef TIOCGWINSIZE (entirelyTheo de Raadt
2015-11-20spacesTheo de Raadt
2015-11-19if you're going to call err(), need to use <err.h>Ted Unangst
2015-11-15The compile-time secure mode has gone, from Michael Reed.Nicholas Marriott
2015-11-14Symbol table tells me to use pledge "stdio rpath wpath cpath"Theo de Raadt
2015-11-14Correct check flipped in earlier commit.Philip Guenther
2015-11-13Add a flag argument to flush() to stop it calling quit() on error, thenNicholas Marriott
2015-11-12Back out of is_optchar() removal. daniel@ was not a fan.mmcc
2015-11-12Inline is_optchar(), a helper function with only one usage.mmcc
2015-11-12Cast three ctype functions' arguments to unsigned char and simplify ammcc
2015-11-12Remove chardef[] and just use isprint/iscntrl directly, ok teduNicholas Marriott
2015-11-11exit if pledge failsTheo de Raadt
2015-11-09use perror() instead, as in lesskeyTheo de Raadt
2015-11-09stop acting like "more" if progname is "page"; ok millertTheo de Raadt
2015-11-09fsync() on a tty is meaningless; ok deraadt@Todd C. Miller
2015-11-09NULL_IFILE has no weird use patterns. NULL is sufficient.Theo de Raadt
2015-11-09define of SPACES_IN_FILENAMES is never usedTheo de Raadt
2015-11-09use (off_t)-1 rather than a BAD_LSEEK wrapperTheo de Raadt
2015-11-09error() is not a stdarg function, so there is no reason for NULL_PARGTheo de Raadt
2015-11-093 pledge calls; 2 are for secure mode and will help track down if thisTheo de Raadt
2015-11-09do not save history in secure modeTheo de Raadt
2015-11-09use open() with flags instead of creat()Theo de Raadt
2015-11-09Remove NULL-checks before free(), a needless comment, and a needlessmmcc
2015-11-09cleanup struct definitionsTheo de Raadt
2015-11-09close_getchr() is now a noopTheo de Raadt
2015-11-09use STDERR_FILENO instead of 2Theo de Raadt
2015-11-09do not need wrappers around O_RDONLY and suchTheo de Raadt
2015-11-08stop pointing people to the gnu and less sites; ok nicmJason McIntyre
2015-11-08Remove support for LESSGLOBALTAGS, we do not have global(1) (standardNicholas Marriott
2015-11-07replace save() with estrdup() and make estrdup() exit like all the otherTed Unangst
2015-11-07delete custom charset tables and just use ctype. init utf_mode from LC_CTYPETed Unangst
2015-11-07remove some charsets we don't use. remove LESSCHARSET since setting it toTed Unangst
2015-11-06remove rarely used LESSCHARDEF support. ok nicmTed Unangst
2015-11-06Remove support for ! to run a shell command, we have ^Z around theseNicholas Marriott
2015-11-06Garrett D'Amore has agreed to moving his copyright line up above theNicholas Marriott
2015-11-06time_t is not a long. remove incorrect abstraction around time().Ted Unangst
2015-11-06Remove LSIGNAL which is just the same as lsignal() now.Nicholas Marriott