summaryrefslogtreecommitdiff
path: root/usr.bin/less
AgeCommit message (Expand)Author
2017-01-12Fix the "t" command for the case where we go down by just a few lines:Ingo Schwarze
2017-01-04Avoid an out of bounds read when the environment variable LESSBINFMTTodd C. Miller
2016-12-30restore a not so redundant test. loopcount = -1 is a significant indicatorTed Unangst
2016-10-24Unify wording for LC_CTYPE in ENVIRONMENT:Ingo Schwarze
2016-09-17little bit more KNFTheo de Raadt
2016-08-28Check the MORE (or LESS) environment variables after forcing the variousNicholas Marriott
2016-07-08Pass errret pointer to setupterm() to prevent setupterm()Todd C. Miller
2016-03-26Improve handling of ambiguous overstrike sequences. A sequence of _\b_Martin Natano
2016-03-16style(9) includesmmcc
2016-03-16Wrap a macro's args in parentheses. No binary change.mmcc
2016-02-03Rename a local var so that we can call the global message buffer msg.mmcc
2016-01-29sort includesmmcc
2016-01-29remove unneeded CHAR_BIT macrommcc
2016-01-29remove superfluous macrommcc
2016-01-27missing fclose(3). (silence cppcheck warnings).Gleydson Soares
2016-01-26Remove a fancy macro that calculates the necessary buffer size formmcc
2016-01-19Remove the lintism PRINTFLIKE1, don't replace it with an attribute so wemmcc
2016-01-17start removing mp, the pointer to message's nul bytemmcc
2016-01-15remove needless extern keywords, a vestige of pre-ANSI Cmmcc
2016-01-15Use quotes rather than angle brackets for local header. Fixes buildingmmcc
2016-01-13unify two identical function pairs now that we've removed less's off_tmmcc
2016-01-12remove lint annotationsmmcc
2016-01-12Remove LINUNUM, a needless alias for off_t. Also, remove a redundantmmcc
2016-01-09Remove superfluous and barely used macro aliases for wctype.h functions.mmcc
2015-12-27Put macro arg in parentheses.mmcc
2015-12-25inline a once-used function that just prints a warningmmcc
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