#
1.30 |
|
17-Oct-2023 |
nicm |
Update ncurses and associated libraries (form, panel, menu) to 6.4-20230826 (from 5.7-20081102).
Based on result from Thomas Dickey's ncu2openbsd script and then modified. Switches to the upstream tput. Major bump for the ncurses libraries and for libedit and libreadline.
Help from tb, millert.
ok deraadt sthen
|
Revision tags: OPENBSD_7_4_BASE
|
#
1.29 |
|
06-Sep-2023 |
jsg |
remove unused variable
|
Revision tags: OPENBSD_7_3_BASE
|
#
1.28 |
|
08-Feb-2023 |
millert |
Use _nc_tparm_analyze() instead of trying to do it ourselves in process(). This fixes tput when used with a capability that uses push/pop. OK gkoehler@
|
#
1.27 |
|
03-Feb-2023 |
tb |
Fix tput when compiled with clang-15 -O2
For some reason clang-15 doesn't like passing the uninitialized array of pointers nargv[] to the vararg function tparm(). With -O2 it optimizes the for loop preceding the tparm() call strangely, with the result that the argv[i] == NULL error is hit in most real-world usage. This broke naddy's fancy shell prompt among other things. Initialize nargv[] to appease the insatiable undefined behavior exploiter.
ok jca millert
|
#
1.26 |
|
22-Dec-2022 |
kn |
Denote multiple arguments with 'arg ...' not 'args'
A few programs used the plural in their synopsis which doesn't read as clear as the obvious triple-dot notation.
mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent use of 'arg ...' matches that behaviour.
Cleanup a few markups of the same argument so the text keeps reading naturally; omit unhelpful parts like 'if optional arguments are given, they are passed along' for tools like time(1) and timeout(1) that obviously execute commands with whatever arguments where given -- just like doas(1) which doesn't mention arguments in its DESCRIPTION in the first place.
For expr(1) the difference between 'expressions' and 'expression ...' is crucial, as arguments must be passed as individual words.
Feedback millert jmc schwarze deraadt OK jmc
|
#
1.25 |
|
04-Dec-2022 |
cheloha |
userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines.
Prompted by dlg@. With help from dlg@ and millert@.
Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2
ok naddy@ millert@ dlg@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.24 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.23 |
|
21-Aug-2017 |
deraadt |
Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(), in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.22 |
|
16-Nov-2015 |
deraadt |
pledge "stdio rpath wpath tty"
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
#
1.20 |
|
08-Oct-2014 |
doug |
userland reallocarray audit.
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray().
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.19 |
|
27-Nov-2013 |
yasuoka |
unsigned char cast was on a wrong place.
ok okan
|
#
1.18 |
|
27-Nov-2013 |
deraadt |
unsigned char for ctype ok okan
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.17 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.16 |
|
05-Oct-2004 |
jaredy |
fix an overflow in the handling of -S
ok millert
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.15 |
|
17-Jun-2003 |
millert |
Sync with share/misc/license.template and add missing DARPA credit where applicable.
|
#
1.14 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.13 |
|
03-Jun-2003 |
millert |
Use an ISC-tyle license for all my code; it is simpler and more permissive.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.12 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.11 |
|
09-Jul-2001 |
deraadt |
correct type on last arg to execl(); nordin@cse.ogi.edu
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
12-Sep-1999 |
millert |
correct exit value; noted by shinobi@monkey.org
|
#
1.9 |
|
02-Jul-1999 |
millert |
For "tput init" set margins and 8 character tabs, for "tput reset" set margins
|
#
1.8 |
|
29-Jun-1999 |
millert |
Heavily modified to support both terminfo and termcap attributes. Now links with -lcurses (ncurses), not -locurses. TODO: set tabs/margins for init/reset pseudo-attributes.
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.7 |
|
06-Mar-1999 |
millert |
back out changes that should not have escaped my local tree
|
#
1.6 |
|
06-Mar-1999 |
millert |
add missing reference to infocmp
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.5 |
|
24-Jun-1997 |
dgregor |
Add #include for string.h to get declaration for strrchr()
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.4 |
|
07-Mar-1997 |
gene |
Integrate clear into tput itself with silly argv munching.
|
#
1.3 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.29 |
|
06-Sep-2023 |
jsg |
remove unused variable
|
Revision tags: OPENBSD_7_3_BASE
|
#
1.28 |
|
08-Feb-2023 |
millert |
Use _nc_tparm_analyze() instead of trying to do it ourselves in process(). This fixes tput when used with a capability that uses push/pop. OK gkoehler@
|
#
1.27 |
|
03-Feb-2023 |
tb |
Fix tput when compiled with clang-15 -O2
For some reason clang-15 doesn't like passing the uninitialized array of pointers nargv[] to the vararg function tparm(). With -O2 it optimizes the for loop preceding the tparm() call strangely, with the result that the argv[i] == NULL error is hit in most real-world usage. This broke naddy's fancy shell prompt among other things. Initialize nargv[] to appease the insatiable undefined behavior exploiter.
ok jca millert
|
#
1.26 |
|
22-Dec-2022 |
kn |
Denote multiple arguments with 'arg ...' not 'args'
A few programs used the plural in their synopsis which doesn't read as clear as the obvious triple-dot notation.
mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent use of 'arg ...' matches that behaviour.
Cleanup a few markups of the same argument so the text keeps reading naturally; omit unhelpful parts like 'if optional arguments are given, they are passed along' for tools like time(1) and timeout(1) that obviously execute commands with whatever arguments where given -- just like doas(1) which doesn't mention arguments in its DESCRIPTION in the first place.
For expr(1) the difference between 'expressions' and 'expression ...' is crucial, as arguments must be passed as individual words.
Feedback millert jmc schwarze deraadt OK jmc
|
#
1.25 |
|
04-Dec-2022 |
cheloha |
userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines.
Prompted by dlg@. With help from dlg@ and millert@.
Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2
ok naddy@ millert@ dlg@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.24 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.23 |
|
21-Aug-2017 |
deraadt |
Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(), in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.22 |
|
16-Nov-2015 |
deraadt |
pledge "stdio rpath wpath tty"
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
#
1.20 |
|
08-Oct-2014 |
doug |
userland reallocarray audit.
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray().
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.19 |
|
27-Nov-2013 |
yasuoka |
unsigned char cast was on a wrong place.
ok okan
|
#
1.18 |
|
27-Nov-2013 |
deraadt |
unsigned char for ctype ok okan
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.17 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.16 |
|
05-Oct-2004 |
jaredy |
fix an overflow in the handling of -S
ok millert
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.15 |
|
17-Jun-2003 |
millert |
Sync with share/misc/license.template and add missing DARPA credit where applicable.
|
#
1.14 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.13 |
|
03-Jun-2003 |
millert |
Use an ISC-tyle license for all my code; it is simpler and more permissive.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.12 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.11 |
|
09-Jul-2001 |
deraadt |
correct type on last arg to execl(); nordin@cse.ogi.edu
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
12-Sep-1999 |
millert |
correct exit value; noted by shinobi@monkey.org
|
#
1.9 |
|
02-Jul-1999 |
millert |
For "tput init" set margins and 8 character tabs, for "tput reset" set margins
|
#
1.8 |
|
29-Jun-1999 |
millert |
Heavily modified to support both terminfo and termcap attributes. Now links with -lcurses (ncurses), not -locurses. TODO: set tabs/margins for init/reset pseudo-attributes.
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.7 |
|
06-Mar-1999 |
millert |
back out changes that should not have escaped my local tree
|
#
1.6 |
|
06-Mar-1999 |
millert |
add missing reference to infocmp
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.5 |
|
24-Jun-1997 |
dgregor |
Add #include for string.h to get declaration for strrchr()
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.4 |
|
07-Mar-1997 |
gene |
Integrate clear into tput itself with silly argv munching.
|
#
1.3 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.28 |
|
08-Feb-2023 |
millert |
Use _nc_tparm_analyze() instead of trying to do it ourselves in process(). This fixes tput when used with a capability that uses push/pop. OK gkoehler@
|
#
1.27 |
|
03-Feb-2023 |
tb |
Fix tput when compiled with clang-15 -O2
For some reason clang-15 doesn't like passing the uninitialized array of pointers nargv[] to the vararg function tparm(). With -O2 it optimizes the for loop preceding the tparm() call strangely, with the result that the argv[i] == NULL error is hit in most real-world usage. This broke naddy's fancy shell prompt among other things. Initialize nargv[] to appease the insatiable undefined behavior exploiter.
ok jca millert
|
#
1.26 |
|
22-Dec-2022 |
kn |
Denote multiple arguments with 'arg ...' not 'args'
A few programs used the plural in their synopsis which doesn't read as clear as the obvious triple-dot notation.
mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent use of 'arg ...' matches that behaviour.
Cleanup a few markups of the same argument so the text keeps reading naturally; omit unhelpful parts like 'if optional arguments are given, they are passed along' for tools like time(1) and timeout(1) that obviously execute commands with whatever arguments where given -- just like doas(1) which doesn't mention arguments in its DESCRIPTION in the first place.
For expr(1) the difference between 'expressions' and 'expression ...' is crucial, as arguments must be passed as individual words.
Feedback millert jmc schwarze deraadt OK jmc
|
#
1.25 |
|
04-Dec-2022 |
cheloha |
userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines.
Prompted by dlg@. With help from dlg@ and millert@.
Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2
ok naddy@ millert@ dlg@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.24 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.23 |
|
21-Aug-2017 |
deraadt |
Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(), in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.22 |
|
16-Nov-2015 |
deraadt |
pledge "stdio rpath wpath tty"
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
#
1.20 |
|
08-Oct-2014 |
doug |
userland reallocarray audit.
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray().
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.19 |
|
27-Nov-2013 |
yasuoka |
unsigned char cast was on a wrong place.
ok okan
|
#
1.18 |
|
27-Nov-2013 |
deraadt |
unsigned char for ctype ok okan
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.17 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.16 |
|
05-Oct-2004 |
jaredy |
fix an overflow in the handling of -S
ok millert
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.15 |
|
17-Jun-2003 |
millert |
Sync with share/misc/license.template and add missing DARPA credit where applicable.
|
#
1.14 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.13 |
|
03-Jun-2003 |
millert |
Use an ISC-tyle license for all my code; it is simpler and more permissive.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.12 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.11 |
|
09-Jul-2001 |
deraadt |
correct type on last arg to execl(); nordin@cse.ogi.edu
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
12-Sep-1999 |
millert |
correct exit value; noted by shinobi@monkey.org
|
#
1.9 |
|
02-Jul-1999 |
millert |
For "tput init" set margins and 8 character tabs, for "tput reset" set margins
|
#
1.8 |
|
29-Jun-1999 |
millert |
Heavily modified to support both terminfo and termcap attributes. Now links with -lcurses (ncurses), not -locurses. TODO: set tabs/margins for init/reset pseudo-attributes.
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.7 |
|
06-Mar-1999 |
millert |
back out changes that should not have escaped my local tree
|
#
1.6 |
|
06-Mar-1999 |
millert |
add missing reference to infocmp
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.5 |
|
24-Jun-1997 |
dgregor |
Add #include for string.h to get declaration for strrchr()
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.4 |
|
07-Mar-1997 |
gene |
Integrate clear into tput itself with silly argv munching.
|
#
1.3 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.27 |
|
03-Feb-2023 |
tb |
Fix tput when compiled with clang-15 -O2
For some reason clang-15 doesn't like passing the uninitialized array of pointers nargv[] to the vararg function tparm(). With -O2 it optimizes the for loop preceding the tparm() call strangely, with the result that the argv[i] == NULL error is hit in most real-world usage. This broke naddy's fancy shell prompt among other things. Initialize nargv[] to appease the insatiable undefined behavior exploiter.
ok jca millert
|
#
1.26 |
|
22-Dec-2022 |
kn |
Denote multiple arguments with 'arg ...' not 'args'
A few programs used the plural in their synopsis which doesn't read as clear as the obvious triple-dot notation.
mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent use of 'arg ...' matches that behaviour.
Cleanup a few markups of the same argument so the text keeps reading naturally; omit unhelpful parts like 'if optional arguments are given, they are passed along' for tools like time(1) and timeout(1) that obviously execute commands with whatever arguments where given -- just like doas(1) which doesn't mention arguments in its DESCRIPTION in the first place.
For expr(1) the difference between 'expressions' and 'expression ...' is crucial, as arguments must be passed as individual words.
Feedback millert jmc schwarze deraadt OK jmc
|
#
1.25 |
|
04-Dec-2022 |
cheloha |
userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines.
Prompted by dlg@. With help from dlg@ and millert@.
Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2
ok naddy@ millert@ dlg@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.24 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.23 |
|
21-Aug-2017 |
deraadt |
Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(), in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.22 |
|
16-Nov-2015 |
deraadt |
pledge "stdio rpath wpath tty"
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
#
1.20 |
|
08-Oct-2014 |
doug |
userland reallocarray audit.
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray().
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.19 |
|
27-Nov-2013 |
yasuoka |
unsigned char cast was on a wrong place.
ok okan
|
#
1.18 |
|
27-Nov-2013 |
deraadt |
unsigned char for ctype ok okan
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.17 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.16 |
|
05-Oct-2004 |
jaredy |
fix an overflow in the handling of -S
ok millert
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.15 |
|
17-Jun-2003 |
millert |
Sync with share/misc/license.template and add missing DARPA credit where applicable.
|
#
1.14 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.13 |
|
03-Jun-2003 |
millert |
Use an ISC-tyle license for all my code; it is simpler and more permissive.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.12 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.11 |
|
09-Jul-2001 |
deraadt |
correct type on last arg to execl(); nordin@cse.ogi.edu
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
12-Sep-1999 |
millert |
correct exit value; noted by shinobi@monkey.org
|
#
1.9 |
|
02-Jul-1999 |
millert |
For "tput init" set margins and 8 character tabs, for "tput reset" set margins
|
#
1.8 |
|
29-Jun-1999 |
millert |
Heavily modified to support both terminfo and termcap attributes. Now links with -lcurses (ncurses), not -locurses. TODO: set tabs/margins for init/reset pseudo-attributes.
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.7 |
|
06-Mar-1999 |
millert |
back out changes that should not have escaped my local tree
|
#
1.6 |
|
06-Mar-1999 |
millert |
add missing reference to infocmp
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.5 |
|
24-Jun-1997 |
dgregor |
Add #include for string.h to get declaration for strrchr()
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.4 |
|
07-Mar-1997 |
gene |
Integrate clear into tput itself with silly argv munching.
|
#
1.3 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.26 |
|
22-Dec-2022 |
kn |
Denote multiple arguments with 'arg ...' not 'args'
A few programs used the plural in their synopsis which doesn't read as clear as the obvious triple-dot notation.
mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent use of 'arg ...' matches that behaviour.
Cleanup a few markups of the same argument so the text keeps reading naturally; omit unhelpful parts like 'if optional arguments are given, they are passed along' for tools like time(1) and timeout(1) that obviously execute commands with whatever arguments where given -- just like doas(1) which doesn't mention arguments in its DESCRIPTION in the first place.
For expr(1) the difference between 'expressions' and 'expression ...' is crucial, as arguments must be passed as individual words.
Feedback millert jmc schwarze deraadt OK jmc
|
#
1.25 |
|
04-Dec-2022 |
cheloha |
userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines.
Prompted by dlg@. With help from dlg@ and millert@.
Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2
ok naddy@ millert@ dlg@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.24 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.23 |
|
21-Aug-2017 |
deraadt |
Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(), in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.22 |
|
16-Nov-2015 |
deraadt |
pledge "stdio rpath wpath tty"
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
#
1.20 |
|
08-Oct-2014 |
doug |
userland reallocarray audit.
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray().
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.19 |
|
27-Nov-2013 |
yasuoka |
unsigned char cast was on a wrong place.
ok okan
|
#
1.18 |
|
27-Nov-2013 |
deraadt |
unsigned char for ctype ok okan
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.17 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.16 |
|
05-Oct-2004 |
jaredy |
fix an overflow in the handling of -S
ok millert
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.15 |
|
17-Jun-2003 |
millert |
Sync with share/misc/license.template and add missing DARPA credit where applicable.
|
#
1.14 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.13 |
|
03-Jun-2003 |
millert |
Use an ISC-tyle license for all my code; it is simpler and more permissive.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.12 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.11 |
|
09-Jul-2001 |
deraadt |
correct type on last arg to execl(); nordin@cse.ogi.edu
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
12-Sep-1999 |
millert |
correct exit value; noted by shinobi@monkey.org
|
#
1.9 |
|
02-Jul-1999 |
millert |
For "tput init" set margins and 8 character tabs, for "tput reset" set margins
|
#
1.8 |
|
29-Jun-1999 |
millert |
Heavily modified to support both terminfo and termcap attributes. Now links with -lcurses (ncurses), not -locurses. TODO: set tabs/margins for init/reset pseudo-attributes.
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.7 |
|
06-Mar-1999 |
millert |
back out changes that should not have escaped my local tree
|
#
1.6 |
|
06-Mar-1999 |
millert |
add missing reference to infocmp
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.5 |
|
24-Jun-1997 |
dgregor |
Add #include for string.h to get declaration for strrchr()
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.4 |
|
07-Mar-1997 |
gene |
Integrate clear into tput itself with silly argv munching.
|
#
1.3 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.25 |
|
04-Dec-2022 |
cheloha |
userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines.
Prompted by dlg@. With help from dlg@ and millert@.
Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2
ok naddy@ millert@ dlg@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.24 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.23 |
|
21-Aug-2017 |
deraadt |
Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(), in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.22 |
|
16-Nov-2015 |
deraadt |
pledge "stdio rpath wpath tty"
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
#
1.20 |
|
08-Oct-2014 |
doug |
userland reallocarray audit.
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray().
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.19 |
|
27-Nov-2013 |
yasuoka |
unsigned char cast was on a wrong place.
ok okan
|
#
1.18 |
|
27-Nov-2013 |
deraadt |
unsigned char for ctype ok okan
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.17 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.16 |
|
05-Oct-2004 |
jaredy |
fix an overflow in the handling of -S
ok millert
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.15 |
|
17-Jun-2003 |
millert |
Sync with share/misc/license.template and add missing DARPA credit where applicable.
|
#
1.14 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.13 |
|
03-Jun-2003 |
millert |
Use an ISC-tyle license for all my code; it is simpler and more permissive.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.12 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.11 |
|
09-Jul-2001 |
deraadt |
correct type on last arg to execl(); nordin@cse.ogi.edu
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
12-Sep-1999 |
millert |
correct exit value; noted by shinobi@monkey.org
|
#
1.9 |
|
02-Jul-1999 |
millert |
For "tput init" set margins and 8 character tabs, for "tput reset" set margins
|
#
1.8 |
|
29-Jun-1999 |
millert |
Heavily modified to support both terminfo and termcap attributes. Now links with -lcurses (ncurses), not -locurses. TODO: set tabs/margins for init/reset pseudo-attributes.
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.7 |
|
06-Mar-1999 |
millert |
back out changes that should not have escaped my local tree
|
#
1.6 |
|
06-Mar-1999 |
millert |
add missing reference to infocmp
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.5 |
|
24-Jun-1997 |
dgregor |
Add #include for string.h to get declaration for strrchr()
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.4 |
|
07-Mar-1997 |
gene |
Integrate clear into tput itself with silly argv munching.
|
#
1.3 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.24 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
|
#
1.23 |
|
21-Aug-2017 |
deraadt |
Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(), in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.22 |
|
16-Nov-2015 |
deraadt |
pledge "stdio rpath wpath tty"
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
#
1.20 |
|
08-Oct-2014 |
doug |
userland reallocarray audit.
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray().
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.19 |
|
27-Nov-2013 |
yasuoka |
unsigned char cast was on a wrong place.
ok okan
|
#
1.18 |
|
27-Nov-2013 |
deraadt |
unsigned char for ctype ok okan
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.17 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.16 |
|
05-Oct-2004 |
jaredy |
fix an overflow in the handling of -S
ok millert
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.15 |
|
17-Jun-2003 |
millert |
Sync with share/misc/license.template and add missing DARPA credit where applicable.
|
#
1.14 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.13 |
|
03-Jun-2003 |
millert |
Use an ISC-tyle license for all my code; it is simpler and more permissive.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.12 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.11 |
|
09-Jul-2001 |
deraadt |
correct type on last arg to execl(); nordin@cse.ogi.edu
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
12-Sep-1999 |
millert |
correct exit value; noted by shinobi@monkey.org
|
#
1.9 |
|
02-Jul-1999 |
millert |
For "tput init" set margins and 8 character tabs, for "tput reset" set margins
|
#
1.8 |
|
29-Jun-1999 |
millert |
Heavily modified to support both terminfo and termcap attributes. Now links with -lcurses (ncurses), not -locurses. TODO: set tabs/margins for init/reset pseudo-attributes.
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.7 |
|
06-Mar-1999 |
millert |
back out changes that should not have escaped my local tree
|
#
1.6 |
|
06-Mar-1999 |
millert |
add missing reference to infocmp
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.5 |
|
24-Jun-1997 |
dgregor |
Add #include for string.h to get declaration for strrchr()
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.4 |
|
07-Mar-1997 |
gene |
Integrate clear into tput itself with silly argv munching.
|
#
1.3 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.23 |
|
21-Aug-2017 |
deraadt |
Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(), in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.22 |
|
16-Nov-2015 |
deraadt |
pledge "stdio rpath wpath tty"
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.21 |
|
16-Jan-2015 |
deraadt |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
|
#
1.20 |
|
08-Oct-2014 |
doug |
userland reallocarray audit.
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray().
ok deraadt@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.19 |
|
27-Nov-2013 |
yasuoka |
unsigned char cast was on a wrong place.
ok okan
|
#
1.18 |
|
27-Nov-2013 |
deraadt |
unsigned char for ctype ok okan
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.17 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.16 |
|
05-Oct-2004 |
jaredy |
fix an overflow in the handling of -S
ok millert
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.15 |
|
17-Jun-2003 |
millert |
Sync with share/misc/license.template and add missing DARPA credit where applicable.
|
#
1.14 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.13 |
|
03-Jun-2003 |
millert |
Use an ISC-tyle license for all my code; it is simpler and more permissive.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.12 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.11 |
|
09-Jul-2001 |
deraadt |
correct type on last arg to execl(); nordin@cse.ogi.edu
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
12-Sep-1999 |
millert |
correct exit value; noted by shinobi@monkey.org
|
#
1.9 |
|
02-Jul-1999 |
millert |
For "tput init" set margins and 8 character tabs, for "tput reset" set margins
|
#
1.8 |
|
29-Jun-1999 |
millert |
Heavily modified to support both terminfo and termcap attributes. Now links with -lcurses (ncurses), not -locurses. TODO: set tabs/margins for init/reset pseudo-attributes.
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.7 |
|
06-Mar-1999 |
millert |
back out changes that should not have escaped my local tree
|
#
1.6 |
|
06-Mar-1999 |
millert |
add missing reference to infocmp
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.5 |
|
24-Jun-1997 |
dgregor |
Add #include for string.h to get declaration for strrchr()
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.4 |
|
07-Mar-1997 |
gene |
Integrate clear into tput itself with silly argv munching.
|
#
1.3 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|