Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-17 | Split only LESS on $. | Kenneth R Westerback | |
As guenther@ said "STOP SPLITTING ANYTHING BUT $LESS ON '$' !". anton@ came up with the same diff. ok nicm@ | |||
2018-03-17 | Fix use after free that caused the creation of a spurious file. | Kenneth R Westerback | |
As guenther@ said "fix whatever led to the \337 x 16 crap". anton@ came up with the same diff. ok nicm@ | |||
2017-11-27 | Use CLOCK_MONOTONIC for the delay before printing "Calculating line numbers" | Jeremie Courreges-Anglas | |
from Scott Cheloha who's pushing this upstream. ok tb@ | |||
2017-10-29 | After fstat(2) failure, trying lseek(2) is useless, so delete it. | Ingo Schwarze | |
Based on a smaller diff from Jesper Wallin <jesper at ifconfig dot se>. OK deraadt@ | |||
2017-08-02 | When performing an inverted search in less, make sure to invalidate the match | anton | |
bounds prior calling regexec(). In this inverted scenario a match is found when regexec() returns false causing the bounds to not be updated. This is problematic since the bounds will then refer to a previous match and future pointer arithmetic will eventually be off which is manifested in a SIGSEGV. Issue reported by Larry Hynes on tech@ ok martijn@ tb@ | |||
2017-07-09 | remove redundant variable declarations in Makefiles, since those are | Marc Espie | |
the default. okay millert@ | |||
2017-05-03 | While freeing tag entries, make sure to free the copied strings. | Todd C. Miller | |
From Anton Lindqvist. OK tobias@ nicm@ | |||
2017-04-20 | control_char() for ASCII needs to include both genuine control | Nicholas Marriott | |
characters and top-bit-set nonprintable characters (so both iscntrl() and !isprint()), fixes behaviour broken in r1.15/r1.16, noticed by deraadt@. ok deraadt tedu | |||
2017-04-02 | The character buffer should be resized using recallocarray() | Theo de Raadt | |
ok millert and nicm a while ago | |||
2017-01-12 | Fix the "t" command for the case where we go down by just a few lines: | Ingo Schwarze | |
clear the status before printing content on the last line of the screen. OK millert@ tom@ | |||
2017-01-04 | Avoid an out of bounds read when the environment variable LESSBINFMT | Todd C. Miller | |
is set to "*". Patch from Tobias Stoeckmann. OK tb@ | |||
2016-12-30 | restore a not so redundant test. loopcount = -1 is a significant indicator | Ted Unangst | |
to prevent printing the calculating message over and over. from Hugo Villeneuve | |||
2016-10-24 | Unify wording for LC_CTYPE in ENVIRONMENT: | Ingo Schwarze | |
* Consistently use "character encoding locale" as suggested by stsp@. * Resolve various gratuitious wording variations. OK jmc@. | |||
2016-09-17 | little bit more KNF | Theo de Raadt | |
2016-08-28 | Check the MORE (or LESS) environment variables after forcing the various | Nicholas Marriott | |
more(1) options, so it is possible to change them using MORE. From Ross L Richardson. ok deraadt millert | |||
2016-07-08 | Pass errret pointer to setupterm() to prevent setupterm() | Todd C. Miller | |
from calling exit() when given an unknown terminal type. From Anton Lindqvist, who also upstreamed the fix. | |||
2016-03-26 | Improve handling of ambiguous overstrike sequences. A sequence of _\b_ | Martin Natano | |
can either mean an underlined underscore or a bold underscore. This ambiguity can be 'resolved' by takeing the state of the surrounding text into account. If surrounded by bold text, the result should probably be bold and likewise for underlined. less(1) previously only looked at the preceding text and ul(1) didn't examine the context at all. tweaks and ok schwarze ok tb (on a previous version of the diff) | |||
2016-03-16 | style(9) includes | mmcc | |
ok nicm@ | |||
2016-03-16 | Wrap a macro's args in parentheses. No binary change. | mmcc | |
I'm discussing with deraadt@ whether it's a good idea to convert some of these to functions. The one changed by this commit probably isn't eligible because it defines only a for loop's condition, but many others in less(1) should probably be converted. ok millert@ | |||
2016-02-03 | Rename a local var so that we can call the global message buffer msg. | mmcc | |
ok nicm, tb | |||
2016-01-29 | sort includes | mmcc | |
from Michael Reed | |||
2016-01-29 | remove unneeded CHAR_BIT macro | mmcc | |
from Michael Reed | |||
2016-01-29 | remove superfluous macro | mmcc | |
ok nicm | |||
2016-01-27 | missing fclose(3). (silence cppcheck warnings). | Gleydson Soares | |
OK mmcc@ | |||
2016-01-26 | Remove a fancy macro that calculates the necessary buffer size for | mmcc | |
int-to-str conversions and just use constants instead. The only binary change is caused by using an unnecessarily large buffer for an int. This is a consequence of simplifying some code that will be gone soon. ok nicm@ | |||
2016-01-19 | Remove the lintism PRINTFLIKE1, don't replace it with an attribute so we | mmcc | |
can keep it portable. also noticed by Michael Reed, discussed with deraadt@ | |||
2016-01-17 | start removing mp, the pointer to message's nul byte | mmcc | |
ok deraadt@ | |||
2016-01-15 | remove needless extern keywords, a vestige of pre-ANSI C | mmcc | |
explained by and ok millert@ | |||
2016-01-15 | Use quotes rather than angle brackets for local header. Fixes building | mmcc | |
with Clang 3.7. ok millert@ | |||
2016-01-13 | unify two identical function pairs now that we've removed less's off_t | mmcc | |
aliases ok nicm@ | |||
2016-01-12 | remove lint annotations | mmcc | |
ok nicm@ | |||
2016-01-12 | Remove LINUNUM, a needless alias for off_t. Also, remove a redundant | mmcc | |
condition. ok nicm@ | |||
2016-01-09 | Remove superfluous and barely used macro aliases for wctype.h functions. | mmcc | |
ok nicm@ | |||
2015-12-27 | Put macro arg in parentheses. | mmcc | |
ok nicm@ | |||
2015-12-25 | inline a once-used function that just prints a warning | mmcc | |
ok benno@ | |||
2015-12-09 | Remove NULL-check before free(). | mmcc | |
2015-11-23 | Update less(1) and lesskey(1) manuals for LESSCHARSET removal | tb | |
From Michael Reed < m ! reed () mykolab ! com >, thanks! ok nicm@ | |||
2015-11-23 | Remove bug-less email address. From Michael Reed, thanks! | tb | |
While there, remove CAVEAT describing DOS and OS/2 quirks. ok nicm@ | |||
2015-11-23 | Don't shadow a function argument. | Nicholas Marriott | |
2015-11-23 | Most of these functions can be static. | Nicholas Marriott | |
2015-11-23 | Missing prototype. | Nicholas Marriott | |
2015-11-23 | A couple more prototypes without arguments. | Nicholas Marriott | |
2015-11-23 | Just use the default CDIAGFLAGS rather than defining our own. | Nicholas Marriott | |
2015-11-23 | Fix function type arguments. | Nicholas Marriott | |
2015-11-23 | $OpenBSD$ | Nicholas Marriott | |
2015-11-23 | less builds its programs one level lower, so we need a Makefile.inc here | Ted Unangst | |
to get -Werror-implicit-function-declaration as in ../Makefile.inc | |||
2015-11-23 | calling ioctl() requires include sys/ioctl.h | Ted Unangst | |
2015-11-21 | remove fancy null check function in favor of checking for null. | Ted Unangst | |
from Ricardo Mestre | |||
2015-11-20 | wrapping an ioctl for TIOCGWINSZ inside #ifdef TIOCGWINSIZE (entirely | Theo de Raadt | |
different) makes no sense; instead, accept all modern systems have TIOCGWINSZ. | |||
2015-11-20 | spaces | Theo de Raadt | |