#
1.20 |
|
03-Sep-2019 |
deraadt |
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.19 |
|
03-May-2017 |
millert |
While freeing tag entries, make sure to free the copied strings. From Anton Lindqvist. OK tobias@ nicm@
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.18 |
|
17-Sep-2016 |
deraadt |
little bit more KNF
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.17 |
|
12-Jan-2016 |
mmcc |
Remove LINUNUM, a needless alias for off_t. Also, remove a redundant condition.
ok nicm@
|
#
1.16 |
|
09-Nov-2015 |
deraadt |
error() is not a stdarg function, so there is no reason for NULL_PARG to be special. Simply use NULL.
|
#
1.15 |
|
08-Nov-2015 |
nicm |
Remove support for LESSGLOBALTAGS, we do not have global(1) (standard ctags(1) support remains). ok tedu
|
#
1.14 |
|
07-Nov-2015 |
tedu |
replace save() with estrdup() and make estrdup() exit like all the other ecalloc, etc. functions do. ok mmcc nicm
|
#
1.13 |
|
06-Nov-2015 |
nicm |
Garrett D'Amore has agreed to moving his copyright line up above the terms with the existing copyright, so it is clear it applies the same terms.
|
#
1.12 |
|
05-Nov-2015 |
nicm |
Replace less with the cleaned-up fork of less 458 maintained by Garrett 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
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
25-Apr-2014 |
shadchin |
Merge Less 458 plus local patches
ok guenther@, ok jmc@ for man bits
|
Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.10 |
|
21-Sep-2011 |
millert |
Use volatile sig_atomic_t, not int, for the sigs variable. Also move the call to bell() out of u_interrupt() (a signal handler). OK and with help from deraadt@
|
#
1.9 |
|
16-Sep-2011 |
shadchin |
Merge in less 444 plus local changes
ok nicm@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
|
#
1.8 |
|
02-Jul-2010 |
guenther |
tags.c isn't needed at all, so exclude the entire object instead of commenting it out top-to-bottom ok deraadt@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.7 |
|
20-Mar-2007 |
tedu |
remove some bogus *p tests from charles longeau ok deraadt millert
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.6 |
|
10-Oct-2006 |
cloder |
Fix an instance of foo[strlen(foo) - 1] = something, which is dangerous because strlen(foo) could be 0. OK beck@
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.5 |
|
08-Nov-2003 |
jmc |
typos from Jonathon Gray;
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.4 |
|
13-Apr-2003 |
millert |
Merge in less-381 w/ local changes and remove obsolete files.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.3 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.2 |
|
29-Jan-2001 |
niklas |
$OpenBSD$
|
#
1.1 |
|
21-Sep-1996 |
etheisen |
branches: 1.1.1; Initial revision
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.19 |
|
03-May-2017 |
millert |
While freeing tag entries, make sure to free the copied strings. From Anton Lindqvist. OK tobias@ nicm@
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.18 |
|
17-Sep-2016 |
deraadt |
little bit more KNF
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.17 |
|
12-Jan-2016 |
mmcc |
Remove LINUNUM, a needless alias for off_t. Also, remove a redundant condition.
ok nicm@
|
#
1.16 |
|
09-Nov-2015 |
deraadt |
error() is not a stdarg function, so there is no reason for NULL_PARG to be special. Simply use NULL.
|
#
1.15 |
|
08-Nov-2015 |
nicm |
Remove support for LESSGLOBALTAGS, we do not have global(1) (standard ctags(1) support remains). ok tedu
|
#
1.14 |
|
07-Nov-2015 |
tedu |
replace save() with estrdup() and make estrdup() exit like all the other ecalloc, etc. functions do. ok mmcc nicm
|
#
1.13 |
|
06-Nov-2015 |
nicm |
Garrett D'Amore has agreed to moving his copyright line up above the terms with the existing copyright, so it is clear it applies the same terms.
|
#
1.12 |
|
05-Nov-2015 |
nicm |
Replace less with the cleaned-up fork of less 458 maintained by Garrett 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
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
25-Apr-2014 |
shadchin |
Merge Less 458 plus local patches
ok guenther@, ok jmc@ for man bits
|
Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.10 |
|
21-Sep-2011 |
millert |
Use volatile sig_atomic_t, not int, for the sigs variable. Also move the call to bell() out of u_interrupt() (a signal handler). OK and with help from deraadt@
|
#
1.9 |
|
16-Sep-2011 |
shadchin |
Merge in less 444 plus local changes
ok nicm@
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
|
#
1.8 |
|
02-Jul-2010 |
guenther |
tags.c isn't needed at all, so exclude the entire object instead of commenting it out top-to-bottom ok deraadt@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.7 |
|
20-Mar-2007 |
tedu |
remove some bogus *p tests from charles longeau ok deraadt millert
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.6 |
|
10-Oct-2006 |
cloder |
Fix an instance of foo[strlen(foo) - 1] = something, which is dangerous because strlen(foo) could be 0. OK beck@
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.5 |
|
08-Nov-2003 |
jmc |
typos from Jonathon Gray;
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.4 |
|
13-Apr-2003 |
millert |
Merge in less-381 w/ local changes and remove obsolete files.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.3 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.2 |
|
29-Jan-2001 |
niklas |
$OpenBSD$
|
#
1.1 |
|
21-Sep-1996 |
etheisen |
branches: 1.1.1; Initial revision
|