#
1.45 |
|
08-Mar-2023 |
guenther |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
|
Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.44 |
|
13-Dec-2020 |
jmc |
pr.1: note that -p is unsupported pr.c: spelling fix
from andras farkas
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
|
#
1.43 |
|
22-Jan-2020 |
deraadt |
delete wasteful ;; ok tedu
|
Revision tags: OPENBSD_6_6_BASE
|
#
1.42 |
|
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_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.41 |
|
23-Dec-2017 |
cheloha |
As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).
ok tb@ jca@
|
#
1.40 |
|
02-Nov-2017 |
jca |
Kill bogus use of LC_TIME
Diff from Jan Stary, ok kettenis@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.39 |
|
11-Nov-2015 |
deraadt |
exit() after perror() for pledge failure. Perhaps this got introduced as a test idiom, either when pledge was young or during the transition to strings.... dunno
|
#
1.38 |
|
09-Oct-2015 |
deraadt |
Change all tame callers to namechange to pledge(2).
|
#
1.37 |
|
07-Oct-2015 |
deraadt |
tame "stdio rpath"
|
#
1.36 |
|
20-Aug-2015 |
deraadt |
Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope ok krw millert
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.35 |
|
08-Feb-2015 |
deraadt |
in getopt() blocks, stop incrementing flag variable which are supposed to just be 0/1 ok miod florian
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.34 |
|
15-Apr-2014 |
jmc |
- get the spacing right for -e, -i, -n, and -s - macro cleanup
ok millert sobrado
|
Revision tags: OPENBSD_5_5_BASE
|
#
1.33 |
|
26-Nov-2013 |
deraadt |
unsigned char casts for ctype ok krw
|
#
1.32 |
|
22-Aug-2013 |
guenther |
Correct format string mismatches turned up by -Wformat=2
suggestions and ok millert@
|
Revision tags: OPENBSD_5_4_BASE
|
#
1.31 |
|
18-Apr-2013 |
deraadt |
struct timezone is so 1980
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
|
#
1.30 |
|
25-Aug-2010 |
chl |
fix potential use of uninitialized variable.
reported by gcc.
ok jasper@
|
#
1.29 |
|
17-Aug-2010 |
jasper |
several fixes from netbsd: Coverity CID 1660: Plug memory leaks. Coverity CID 2989: Use the error path to return. Coverity CID 3212: Don't return, goto out in all cases so that cleanup happens.
ok otto@
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.28 |
|
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_4_5_BASE OPENBSD_4_6_BASE
|
#
1.27 |
|
07-Feb-2009 |
chl |
malloc(n * m) -> calloc(n, m);
ok ray@ moritz@
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.26 |
|
18-Apr-2008 |
tobias |
If memory allocation fails during error message buffering, print all hold back messages and exit.
ok millert
|
Revision tags: OPENBSD_4_3_BASE
|
#
1.25 |
|
03-Sep-2007 |
moritz |
last commit broke the tree because of missing parentheses.
ok henning@
|
#
1.24 |
|
03-Sep-2007 |
deraadt |
sizeof char is 1; ok djm
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.23 |
|
03-Mar-2007 |
jmc |
- make synopsis and usage() match the order of the options list - kill a raft of unneeded .Bk/.Ek
mostly from Igor Sobrado
|
#
1.22 |
|
20-Feb-2007 |
moritz |
Some cleanup including:
- use sig_atomic_t signal handler flag - atoi() -> strtonum() conversion - remove vararg without matching fmt string - some more lint/gcc silencing
ok millert@ ray@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.21 |
|
21-Jun-2004 |
avsm |
dont compare int with NULL, compare to 0 instead, otto@ ok
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.20 |
|
09-Nov-2003 |
otto |
Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.19 |
|
04-Aug-2003 |
deraadt |
protos
|
#
1.18 |
|
12-Jun-2003 |
deraadt |
de-register and ansification; millert ok
|
#
1.17 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.16 |
|
03-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.15 |
|
30-Apr-2002 |
deraadt |
arguement -> argument
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.14 |
|
29-Nov-2001 |
mpech |
make sure that va_start() has matching va_end()
millert@ help&ok
|
#
1.13 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
#
1.12 |
|
19-Nov-2001 |
deraadt |
guess what! more signal race fixes...
|
#
1.11 |
|
02-Nov-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.10 |
|
24-May-2001 |
pvalchev |
Don't convert a single space before a tab stop into a tab when the -i option is passed, as stated in the manual page. From NetBSD PR 5797 fix. millert@ ok
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.9 |
|
05-Feb-2001 |
deraadt |
please binutils in the absence of perfect weak symbols
|
#
1.8 |
|
10-Nov-2000 |
provos |
seperate -> separate, okay aaron@
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.7 |
|
03-Dec-1999 |
deraadt |
the -s option was broken; spotted by tstromberg@rtci.com on freebsd-audit, but i have not seen them fix any of the bugs
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.6 |
|
23-May-1999 |
millert |
make private version of getopt() return -1, not EOF
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.5 |
|
23-Apr-1997 |
grr |
revised to handle form feeds, bugs fixed etc
|
#
1.4 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
10-Aug-1996 |
imp |
pr -F would sometimes fail to properly use formfeeds.
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.44 |
|
13-Dec-2020 |
jmc |
pr.1: note that -p is unsupported pr.c: spelling fix
from andras farkas
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
|
#
1.43 |
|
22-Jan-2020 |
deraadt |
delete wasteful ;; ok tedu
|
Revision tags: OPENBSD_6_6_BASE
|
#
1.42 |
|
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_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.41 |
|
23-Dec-2017 |
cheloha |
As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).
ok tb@ jca@
|
#
1.40 |
|
02-Nov-2017 |
jca |
Kill bogus use of LC_TIME
Diff from Jan Stary, ok kettenis@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.39 |
|
11-Nov-2015 |
deraadt |
exit() after perror() for pledge failure. Perhaps this got introduced as a test idiom, either when pledge was young or during the transition to strings.... dunno
|
#
1.38 |
|
09-Oct-2015 |
deraadt |
Change all tame callers to namechange to pledge(2).
|
#
1.37 |
|
07-Oct-2015 |
deraadt |
tame "stdio rpath"
|
#
1.36 |
|
20-Aug-2015 |
deraadt |
Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope ok krw millert
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.35 |
|
08-Feb-2015 |
deraadt |
in getopt() blocks, stop incrementing flag variable which are supposed to just be 0/1 ok miod florian
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.34 |
|
15-Apr-2014 |
jmc |
- get the spacing right for -e, -i, -n, and -s - macro cleanup
ok millert sobrado
|
Revision tags: OPENBSD_5_5_BASE
|
#
1.33 |
|
26-Nov-2013 |
deraadt |
unsigned char casts for ctype ok krw
|
#
1.32 |
|
22-Aug-2013 |
guenther |
Correct format string mismatches turned up by -Wformat=2
suggestions and ok millert@
|
Revision tags: OPENBSD_5_4_BASE
|
#
1.31 |
|
18-Apr-2013 |
deraadt |
struct timezone is so 1980
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
|
#
1.30 |
|
25-Aug-2010 |
chl |
fix potential use of uninitialized variable.
reported by gcc.
ok jasper@
|
#
1.29 |
|
17-Aug-2010 |
jasper |
several fixes from netbsd: Coverity CID 1660: Plug memory leaks. Coverity CID 2989: Use the error path to return. Coverity CID 3212: Don't return, goto out in all cases so that cleanup happens.
ok otto@
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.28 |
|
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_4_5_BASE OPENBSD_4_6_BASE
|
#
1.27 |
|
07-Feb-2009 |
chl |
malloc(n * m) -> calloc(n, m);
ok ray@ moritz@
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.26 |
|
18-Apr-2008 |
tobias |
If memory allocation fails during error message buffering, print all hold back messages and exit.
ok millert
|
Revision tags: OPENBSD_4_3_BASE
|
#
1.25 |
|
03-Sep-2007 |
moritz |
last commit broke the tree because of missing parentheses.
ok henning@
|
#
1.24 |
|
03-Sep-2007 |
deraadt |
sizeof char is 1; ok djm
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.23 |
|
03-Mar-2007 |
jmc |
- make synopsis and usage() match the order of the options list - kill a raft of unneeded .Bk/.Ek
mostly from Igor Sobrado
|
#
1.22 |
|
20-Feb-2007 |
moritz |
Some cleanup including:
- use sig_atomic_t signal handler flag - atoi() -> strtonum() conversion - remove vararg without matching fmt string - some more lint/gcc silencing
ok millert@ ray@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.21 |
|
21-Jun-2004 |
avsm |
dont compare int with NULL, compare to 0 instead, otto@ ok
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.20 |
|
09-Nov-2003 |
otto |
Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.19 |
|
04-Aug-2003 |
deraadt |
protos
|
#
1.18 |
|
12-Jun-2003 |
deraadt |
de-register and ansification; millert ok
|
#
1.17 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.16 |
|
03-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.15 |
|
30-Apr-2002 |
deraadt |
arguement -> argument
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.14 |
|
29-Nov-2001 |
mpech |
make sure that va_start() has matching va_end()
millert@ help&ok
|
#
1.13 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
#
1.12 |
|
19-Nov-2001 |
deraadt |
guess what! more signal race fixes...
|
#
1.11 |
|
02-Nov-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.10 |
|
24-May-2001 |
pvalchev |
Don't convert a single space before a tab stop into a tab when the -i option is passed, as stated in the manual page. From NetBSD PR 5797 fix. millert@ ok
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.9 |
|
05-Feb-2001 |
deraadt |
please binutils in the absence of perfect weak symbols
|
#
1.8 |
|
10-Nov-2000 |
provos |
seperate -> separate, okay aaron@
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.7 |
|
03-Dec-1999 |
deraadt |
the -s option was broken; spotted by tstromberg@rtci.com on freebsd-audit, but i have not seen them fix any of the bugs
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.6 |
|
23-May-1999 |
millert |
make private version of getopt() return -1, not EOF
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.5 |
|
23-Apr-1997 |
grr |
revised to handle form feeds, bugs fixed etc
|
#
1.4 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
10-Aug-1996 |
imp |
pr -F would sometimes fail to properly use formfeeds.
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.43 |
|
22-Jan-2020 |
deraadt |
delete wasteful ;; ok tedu
|
Revision tags: OPENBSD_6_6_BASE
|
#
1.42 |
|
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_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.41 |
|
23-Dec-2017 |
cheloha |
As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).
ok tb@ jca@
|
#
1.40 |
|
02-Nov-2017 |
jca |
Kill bogus use of LC_TIME
Diff from Jan Stary, ok kettenis@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.39 |
|
11-Nov-2015 |
deraadt |
exit() after perror() for pledge failure. Perhaps this got introduced as a test idiom, either when pledge was young or during the transition to strings.... dunno
|
#
1.38 |
|
09-Oct-2015 |
deraadt |
Change all tame callers to namechange to pledge(2).
|
#
1.37 |
|
07-Oct-2015 |
deraadt |
tame "stdio rpath"
|
#
1.36 |
|
20-Aug-2015 |
deraadt |
Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope ok krw millert
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.35 |
|
08-Feb-2015 |
deraadt |
in getopt() blocks, stop incrementing flag variable which are supposed to just be 0/1 ok miod florian
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.34 |
|
15-Apr-2014 |
jmc |
- get the spacing right for -e, -i, -n, and -s - macro cleanup
ok millert sobrado
|
Revision tags: OPENBSD_5_5_BASE
|
#
1.33 |
|
26-Nov-2013 |
deraadt |
unsigned char casts for ctype ok krw
|
#
1.32 |
|
22-Aug-2013 |
guenther |
Correct format string mismatches turned up by -Wformat=2
suggestions and ok millert@
|
Revision tags: OPENBSD_5_4_BASE
|
#
1.31 |
|
18-Apr-2013 |
deraadt |
struct timezone is so 1980
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
|
#
1.30 |
|
25-Aug-2010 |
chl |
fix potential use of uninitialized variable.
reported by gcc.
ok jasper@
|
#
1.29 |
|
17-Aug-2010 |
jasper |
several fixes from netbsd: Coverity CID 1660: Plug memory leaks. Coverity CID 2989: Use the error path to return. Coverity CID 3212: Don't return, goto out in all cases so that cleanup happens.
ok otto@
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.28 |
|
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_4_5_BASE OPENBSD_4_6_BASE
|
#
1.27 |
|
07-Feb-2009 |
chl |
malloc(n * m) -> calloc(n, m);
ok ray@ moritz@
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.26 |
|
18-Apr-2008 |
tobias |
If memory allocation fails during error message buffering, print all hold back messages and exit.
ok millert
|
Revision tags: OPENBSD_4_3_BASE
|
#
1.25 |
|
03-Sep-2007 |
moritz |
last commit broke the tree because of missing parentheses.
ok henning@
|
#
1.24 |
|
03-Sep-2007 |
deraadt |
sizeof char is 1; ok djm
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.23 |
|
03-Mar-2007 |
jmc |
- make synopsis and usage() match the order of the options list - kill a raft of unneeded .Bk/.Ek
mostly from Igor Sobrado
|
#
1.22 |
|
20-Feb-2007 |
moritz |
Some cleanup including:
- use sig_atomic_t signal handler flag - atoi() -> strtonum() conversion - remove vararg without matching fmt string - some more lint/gcc silencing
ok millert@ ray@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.21 |
|
21-Jun-2004 |
avsm |
dont compare int with NULL, compare to 0 instead, otto@ ok
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.20 |
|
09-Nov-2003 |
otto |
Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.19 |
|
04-Aug-2003 |
deraadt |
protos
|
#
1.18 |
|
12-Jun-2003 |
deraadt |
de-register and ansification; millert ok
|
#
1.17 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.16 |
|
03-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.15 |
|
30-Apr-2002 |
deraadt |
arguement -> argument
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.14 |
|
29-Nov-2001 |
mpech |
make sure that va_start() has matching va_end()
millert@ help&ok
|
#
1.13 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
#
1.12 |
|
19-Nov-2001 |
deraadt |
guess what! more signal race fixes...
|
#
1.11 |
|
02-Nov-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.10 |
|
24-May-2001 |
pvalchev |
Don't convert a single space before a tab stop into a tab when the -i option is passed, as stated in the manual page. From NetBSD PR 5797 fix. millert@ ok
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.9 |
|
05-Feb-2001 |
deraadt |
please binutils in the absence of perfect weak symbols
|
#
1.8 |
|
10-Nov-2000 |
provos |
seperate -> separate, okay aaron@
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.7 |
|
03-Dec-1999 |
deraadt |
the -s option was broken; spotted by tstromberg@rtci.com on freebsd-audit, but i have not seen them fix any of the bugs
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.6 |
|
23-May-1999 |
millert |
make private version of getopt() return -1, not EOF
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.5 |
|
23-Apr-1997 |
grr |
revised to handle form feeds, bugs fixed etc
|
#
1.4 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
10-Aug-1996 |
imp |
pr -F would sometimes fail to properly use formfeeds.
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.42 |
|
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_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.41 |
|
23-Dec-2017 |
cheloha |
As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).
ok tb@ jca@
|
#
1.40 |
|
02-Nov-2017 |
jca |
Kill bogus use of LC_TIME
Diff from Jan Stary, ok kettenis@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.39 |
|
11-Nov-2015 |
deraadt |
exit() after perror() for pledge failure. Perhaps this got introduced as a test idiom, either when pledge was young or during the transition to strings.... dunno
|
#
1.38 |
|
09-Oct-2015 |
deraadt |
Change all tame callers to namechange to pledge(2).
|
#
1.37 |
|
07-Oct-2015 |
deraadt |
tame "stdio rpath"
|
#
1.36 |
|
20-Aug-2015 |
deraadt |
Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope ok krw millert
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.35 |
|
08-Feb-2015 |
deraadt |
in getopt() blocks, stop incrementing flag variable which are supposed to just be 0/1 ok miod florian
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.34 |
|
15-Apr-2014 |
jmc |
- get the spacing right for -e, -i, -n, and -s - macro cleanup
ok millert sobrado
|
Revision tags: OPENBSD_5_5_BASE
|
#
1.33 |
|
26-Nov-2013 |
deraadt |
unsigned char casts for ctype ok krw
|
#
1.32 |
|
22-Aug-2013 |
guenther |
Correct format string mismatches turned up by -Wformat=2
suggestions and ok millert@
|
Revision tags: OPENBSD_5_4_BASE
|
#
1.31 |
|
18-Apr-2013 |
deraadt |
struct timezone is so 1980
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
|
#
1.30 |
|
25-Aug-2010 |
chl |
fix potential use of uninitialized variable.
reported by gcc.
ok jasper@
|
#
1.29 |
|
17-Aug-2010 |
jasper |
several fixes from netbsd: Coverity CID 1660: Plug memory leaks. Coverity CID 2989: Use the error path to return. Coverity CID 3212: Don't return, goto out in all cases so that cleanup happens.
ok otto@
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.28 |
|
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_4_5_BASE OPENBSD_4_6_BASE
|
#
1.27 |
|
07-Feb-2009 |
chl |
malloc(n * m) -> calloc(n, m);
ok ray@ moritz@
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.26 |
|
18-Apr-2008 |
tobias |
If memory allocation fails during error message buffering, print all hold back messages and exit.
ok millert
|
Revision tags: OPENBSD_4_3_BASE
|
#
1.25 |
|
03-Sep-2007 |
moritz |
last commit broke the tree because of missing parentheses.
ok henning@
|
#
1.24 |
|
03-Sep-2007 |
deraadt |
sizeof char is 1; ok djm
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.23 |
|
03-Mar-2007 |
jmc |
- make synopsis and usage() match the order of the options list - kill a raft of unneeded .Bk/.Ek
mostly from Igor Sobrado
|
#
1.22 |
|
20-Feb-2007 |
moritz |
Some cleanup including:
- use sig_atomic_t signal handler flag - atoi() -> strtonum() conversion - remove vararg without matching fmt string - some more lint/gcc silencing
ok millert@ ray@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.21 |
|
21-Jun-2004 |
avsm |
dont compare int with NULL, compare to 0 instead, otto@ ok
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.20 |
|
09-Nov-2003 |
otto |
Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.19 |
|
04-Aug-2003 |
deraadt |
protos
|
#
1.18 |
|
12-Jun-2003 |
deraadt |
de-register and ansification; millert ok
|
#
1.17 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.16 |
|
03-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.15 |
|
30-Apr-2002 |
deraadt |
arguement -> argument
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.14 |
|
29-Nov-2001 |
mpech |
make sure that va_start() has matching va_end()
millert@ help&ok
|
#
1.13 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
#
1.12 |
|
19-Nov-2001 |
deraadt |
guess what! more signal race fixes...
|
#
1.11 |
|
02-Nov-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.10 |
|
24-May-2001 |
pvalchev |
Don't convert a single space before a tab stop into a tab when the -i option is passed, as stated in the manual page. From NetBSD PR 5797 fix. millert@ ok
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.9 |
|
05-Feb-2001 |
deraadt |
please binutils in the absence of perfect weak symbols
|
#
1.8 |
|
10-Nov-2000 |
provos |
seperate -> separate, okay aaron@
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.7 |
|
03-Dec-1999 |
deraadt |
the -s option was broken; spotted by tstromberg@rtci.com on freebsd-audit, but i have not seen them fix any of the bugs
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.6 |
|
23-May-1999 |
millert |
make private version of getopt() return -1, not EOF
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.5 |
|
23-Apr-1997 |
grr |
revised to handle form feeds, bugs fixed etc
|
#
1.4 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
10-Aug-1996 |
imp |
pr -F would sometimes fail to properly use formfeeds.
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.41 |
|
23-Dec-2017 |
cheloha |
As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).
ok tb@ jca@
|
#
1.40 |
|
02-Nov-2017 |
jca |
Kill bogus use of LC_TIME
Diff from Jan Stary, ok kettenis@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.39 |
|
11-Nov-2015 |
deraadt |
exit() after perror() for pledge failure. Perhaps this got introduced as a test idiom, either when pledge was young or during the transition to strings.... dunno
|
#
1.38 |
|
09-Oct-2015 |
deraadt |
Change all tame callers to namechange to pledge(2).
|
#
1.37 |
|
07-Oct-2015 |
deraadt |
tame "stdio rpath"
|
#
1.36 |
|
20-Aug-2015 |
deraadt |
Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope ok krw millert
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.35 |
|
08-Feb-2015 |
deraadt |
in getopt() blocks, stop incrementing flag variable which are supposed to just be 0/1 ok miod florian
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.34 |
|
15-Apr-2014 |
jmc |
- get the spacing right for -e, -i, -n, and -s - macro cleanup
ok millert sobrado
|
Revision tags: OPENBSD_5_5_BASE
|
#
1.33 |
|
26-Nov-2013 |
deraadt |
unsigned char casts for ctype ok krw
|
#
1.32 |
|
22-Aug-2013 |
guenther |
Correct format string mismatches turned up by -Wformat=2
suggestions and ok millert@
|
Revision tags: OPENBSD_5_4_BASE
|
#
1.31 |
|
18-Apr-2013 |
deraadt |
struct timezone is so 1980
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
|
#
1.30 |
|
25-Aug-2010 |
chl |
fix potential use of uninitialized variable.
reported by gcc.
ok jasper@
|
#
1.29 |
|
17-Aug-2010 |
jasper |
several fixes from netbsd: Coverity CID 1660: Plug memory leaks. Coverity CID 2989: Use the error path to return. Coverity CID 3212: Don't return, goto out in all cases so that cleanup happens.
ok otto@
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.28 |
|
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_4_5_BASE OPENBSD_4_6_BASE
|
#
1.27 |
|
07-Feb-2009 |
chl |
malloc(n * m) -> calloc(n, m);
ok ray@ moritz@
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.26 |
|
18-Apr-2008 |
tobias |
If memory allocation fails during error message buffering, print all hold back messages and exit.
ok millert
|
Revision tags: OPENBSD_4_3_BASE
|
#
1.25 |
|
03-Sep-2007 |
moritz |
last commit broke the tree because of missing parentheses.
ok henning@
|
#
1.24 |
|
03-Sep-2007 |
deraadt |
sizeof char is 1; ok djm
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.23 |
|
03-Mar-2007 |
jmc |
- make synopsis and usage() match the order of the options list - kill a raft of unneeded .Bk/.Ek
mostly from Igor Sobrado
|
#
1.22 |
|
20-Feb-2007 |
moritz |
Some cleanup including:
- use sig_atomic_t signal handler flag - atoi() -> strtonum() conversion - remove vararg without matching fmt string - some more lint/gcc silencing
ok millert@ ray@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.21 |
|
21-Jun-2004 |
avsm |
dont compare int with NULL, compare to 0 instead, otto@ ok
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.20 |
|
09-Nov-2003 |
otto |
Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.19 |
|
04-Aug-2003 |
deraadt |
protos
|
#
1.18 |
|
12-Jun-2003 |
deraadt |
de-register and ansification; millert ok
|
#
1.17 |
|
10-Jun-2003 |
deraadt |
mostly ansi cleanup; pval ok
|
#
1.16 |
|
03-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.15 |
|
30-Apr-2002 |
deraadt |
arguement -> argument
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.14 |
|
29-Nov-2001 |
mpech |
make sure that va_start() has matching va_end()
millert@ help&ok
|
#
1.13 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
#
1.12 |
|
19-Nov-2001 |
deraadt |
guess what! more signal race fixes...
|
#
1.11 |
|
02-Nov-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.10 |
|
24-May-2001 |
pvalchev |
Don't convert a single space before a tab stop into a tab when the -i option is passed, as stated in the manual page. From NetBSD PR 5797 fix. millert@ ok
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.9 |
|
05-Feb-2001 |
deraadt |
please binutils in the absence of perfect weak symbols
|
#
1.8 |
|
10-Nov-2000 |
provos |
seperate -> separate, okay aaron@
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.7 |
|
03-Dec-1999 |
deraadt |
the -s option was broken; spotted by tstromberg@rtci.com on freebsd-audit, but i have not seen them fix any of the bugs
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.6 |
|
23-May-1999 |
millert |
make private version of getopt() return -1, not EOF
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.5 |
|
23-Apr-1997 |
grr |
revised to handle form feeds, bugs fixed etc
|
#
1.4 |
|
15-Jan-1997 |
millert |
getopt(3) returns -1 when out of args, not EOF, whee!
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
10-Aug-1996 |
imp |
pr -F would sometimes fail to properly use formfeeds.
|
#
1.2 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|