#
1.20 |
|
04-Sep-2019 |
schwarze |
adjust a variable name in a comment after the reorg in signal.c rev. 1.18
|
#
1.19 |
|
28-Jun-2019 |
deraadt |
When system calls indicate an error they return -1, not some arbitrary 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.
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.18 |
|
16-Mar-2016 |
mmcc |
style(9) includes
ok nicm@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.17 |
|
13-Nov-2015 |
nicm |
Add a flag argument to flush() to stop it calling quit() on error, then use this from quit() to stop less blowing up the stack looping through quit()/flush() if stderr is closed (for example "less /missing 2</dev/null"). ok millert
|
#
1.16 |
|
09-Nov-2015 |
deraadt |
NULL_IFILE has no weird use patterns. NULL is sufficient.
|
#
1.15 |
|
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.14 |
|
09-Nov-2015 |
deraadt |
do not need wrappers around O_RDONLY and such
|
#
1.13 |
|
07-Nov-2015 |
tedu |
replace save() with estrdup() and make estrdup() exit like all the other ecalloc, etc. functions do. ok mmcc nicm
|
#
1.12 |
|
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.11 |
|
06-Nov-2015 |
nicm |
Remove LSIGNAL which is just the same as lsignal() now.
|
#
1.10 |
|
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.9 |
|
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.8 |
|
16-Sep-2011 |
shadchin |
Merge in less 444 plus local changes
ok nicm@
|
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 OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
|
#
1.7 |
|
19-Apr-2007 |
mbalmer |
Update to less version 382. This removes some code that is licensed under a non-BSD license and which was not used on OpenBSD. No functional changes.
From Daniel Dickmann <didickman@gmail.com>, ok itojun, millert, ray, matthieu
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.6 |
|
19-Dec-2004 |
deraadt |
use strchr instead of index
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.5 |
|
13-Apr-2003 |
millert |
Merge in less-381 w/ local changes and remove obsolete files.
|
#
1.4 |
|
06-Apr-2003 |
deraadt |
more strlcpy/strlcat/snprintf, less strcpy/strcat/sprintf reviewed by tdeval, millert, dhartmei and others. more bits coming here from some of them i think
|
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
|
#
1.19 |
|
28-Jun-2019 |
deraadt |
When system calls indicate an error they return -1, not some arbitrary 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.
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.18 |
|
16-Mar-2016 |
mmcc |
style(9) includes
ok nicm@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.17 |
|
13-Nov-2015 |
nicm |
Add a flag argument to flush() to stop it calling quit() on error, then use this from quit() to stop less blowing up the stack looping through quit()/flush() if stderr is closed (for example "less /missing 2</dev/null"). ok millert
|
#
1.16 |
|
09-Nov-2015 |
deraadt |
NULL_IFILE has no weird use patterns. NULL is sufficient.
|
#
1.15 |
|
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.14 |
|
09-Nov-2015 |
deraadt |
do not need wrappers around O_RDONLY and such
|
#
1.13 |
|
07-Nov-2015 |
tedu |
replace save() with estrdup() and make estrdup() exit like all the other ecalloc, etc. functions do. ok mmcc nicm
|
#
1.12 |
|
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.11 |
|
06-Nov-2015 |
nicm |
Remove LSIGNAL which is just the same as lsignal() now.
|
#
1.10 |
|
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.9 |
|
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.8 |
|
16-Sep-2011 |
shadchin |
Merge in less 444 plus local changes
ok nicm@
|
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 OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
|
#
1.7 |
|
19-Apr-2007 |
mbalmer |
Update to less version 382. This removes some code that is licensed under a non-BSD license and which was not used on OpenBSD. No functional changes.
From Daniel Dickmann <didickman@gmail.com>, ok itojun, millert, ray, matthieu
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.6 |
|
19-Dec-2004 |
deraadt |
use strchr instead of index
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.5 |
|
13-Apr-2003 |
millert |
Merge in less-381 w/ local changes and remove obsolete files.
|
#
1.4 |
|
06-Apr-2003 |
deraadt |
more strlcpy/strlcat/snprintf, less strcpy/strcat/sprintf reviewed by tdeval, millert, dhartmei and others. more bits coming here from some of them i think
|
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_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.18 |
|
16-Mar-2016 |
mmcc |
style(9) includes
ok nicm@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.17 |
|
13-Nov-2015 |
nicm |
Add a flag argument to flush() to stop it calling quit() on error, then use this from quit() to stop less blowing up the stack looping through quit()/flush() if stderr is closed (for example "less /missing 2</dev/null"). ok millert
|
#
1.16 |
|
09-Nov-2015 |
deraadt |
NULL_IFILE has no weird use patterns. NULL is sufficient.
|
#
1.15 |
|
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.14 |
|
09-Nov-2015 |
deraadt |
do not need wrappers around O_RDONLY and such
|
#
1.13 |
|
07-Nov-2015 |
tedu |
replace save() with estrdup() and make estrdup() exit like all the other ecalloc, etc. functions do. ok mmcc nicm
|
#
1.12 |
|
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.11 |
|
06-Nov-2015 |
nicm |
Remove LSIGNAL which is just the same as lsignal() now.
|
#
1.10 |
|
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.9 |
|
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.8 |
|
16-Sep-2011 |
shadchin |
Merge in less 444 plus local changes
ok nicm@
|
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 OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
|
#
1.7 |
|
19-Apr-2007 |
mbalmer |
Update to less version 382. This removes some code that is licensed under a non-BSD license and which was not used on OpenBSD. No functional changes.
From Daniel Dickmann <didickman@gmail.com>, ok itojun, millert, ray, matthieu
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.6 |
|
19-Dec-2004 |
deraadt |
use strchr instead of index
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.5 |
|
13-Apr-2003 |
millert |
Merge in less-381 w/ local changes and remove obsolete files.
|
#
1.4 |
|
06-Apr-2003 |
deraadt |
more strlcpy/strlcat/snprintf, less strcpy/strcat/sprintf reviewed by tdeval, millert, dhartmei and others. more bits coming here from some of them i think
|
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
|