| #
2e2e33a1 |
| 27-Dec-2018 |
tedu <tedu@openbsd.org> |
convert to unsigned variables to avoid some overflows. analysis and patch from David Fifield
|
| #
ee7acb09 |
| 11-Sep-2016 |
tb <tb@openbsd.org> |
Callers of time(3) should #include <time.h>.
ok deraadt
|
| #
b1512104 |
| 27-Jan-2016 |
gsoares <gsoares@openbsd.org> |
- optarg and optind are declared by unistd.h, so remove them... - use strtonum rather than atoi - zap case '?' in getopt(3) switch - use _exit(2) in signal handler - use __progname in usage() instead
- optarg and optind are declared by unistd.h, so remove them... - use strtonum rather than atoi - zap case '?' in getopt(3) switch - use _exit(2) in signal handler - use __progname in usage() instead of hardcoded name
OK tb@ mestre@
show more ...
|
| #
ab0a4ae5 |
| 25-Jan-2016 |
mestre <mestre@openbsd.org> |
Remove unused header
|
| #
7e027cb7 |
| 10-Jan-2016 |
mestre <mestre@openbsd.org> |
As per style(9), remove remaining lint-style comments from games/
OK tb@
|
| #
9ea8ec70 |
| 03-Jan-2016 |
mestre <mestre@openbsd.org> |
About 13 years ago when the idiom srandom(time()), and sometimes srandom(time()+getpid()), was changed by srandomdev(), but #include <time.h> lived up until this day so remove it.
Additionally, earl
About 13 years ago when the idiom srandom(time()), and sometimes srandom(time()+getpid()), was changed by srandomdev(), but #include <time.h> lived up until this day so remove it.
Additionally, earlier than that, 18 years ago, random(6) was one of the first consumers of arc4random(3) family, and was pulling it from dev/rndvar.h but these days we pull it from stdlib.h, which is already done, so while here remove dev/rndvar.h also.
"seems comprehensive to me" deraadt@ and OK tb@
show more ...
|
| #
f0628b46 |
| 25-Dec-2015 |
mestre <mestre@openbsd.org> |
Declare usage() functions as __dead void, if they don't return, on games section.
Found another one in arithmetic(6) which also didn't return, and removed a function from number(6) which is not used
Declare usage() functions as __dead void, if they don't return, on games section.
Found another one in arithmetic(6) which also didn't return, and removed a function from number(6) which is not used anymore.
OK tb@
show more ...
|
| #
057b7905 |
| 24-Oct-2015 |
mmcc <mmcc@openbsd.org> |
Cast ctype functions' arguments to unsigned char.
ok guenther@
|
| #
3ef98285 |
| 10-Oct-2015 |
doug <doug@openbsd.org> |
Pledge that arithmetic only takes "stdio".
|
| #
ca161728 |
| 22-Aug-2015 |
deraadt <deraadt@openbsd.org> |
remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok millert krw
|
| #
66e49541 |
| 29-Aug-2013 |
naddy <naddy@openbsd.org> |
replace srandomdev()+random() with the arc4random*() family tweaks and ok millert@, ok deraadt@
|
| #
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
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 (th
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
show more ...
|
| #
2c74d5bf |
| 20-Mar-2007 |
tedu <tedu@openbsd.org> |
remove some bogus *p tests from charles longeau ok deraadt millert
|
| #
a5ca3416 |
| 09-Jul-2004 |
deraadt <deraadt@openbsd.org> |
ansi; khalek@linuxgamers.net
|
| #
7a09557b |
| 03-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
| #
ffe3e522 |
| 06-Dec-2002 |
millert <millert@openbsd.org> |
Replace things like srandom(time(NULL)) with srandomdev(3). random(3) good enough for games but we should at least use a decent seed. pjanzen@ OK
|
| #
336eb4a0 |
| 11-Jun-2002 |
jsyn <jsyn@openbsd.org> |
no more err(3) newlines in games; ok pjanzen@
|
| #
97419aa0 |
| 31-May-2002 |
pjanzen <pjanzen@openbsd.org> |
de-register
|
| #
ef2c807a |
| 31-May-2002 |
pjanzen <pjanzen@openbsd.org> |
No dm -> no need to revoke setegid.
|
| #
c72b5b24 |
| 16-Feb-2002 |
millert <millert@openbsd.org> |
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 don
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.
show more ...
|
| #
2e1edb43 |
| 15-Sep-1998 |
pjanzen <pjanzen@openbsd.org> |
use const where appropriate; jsm28@cam.ac.uk
|
| #
1ed0e75d |
| 19-Aug-1998 |
pjanzen <pjanzen@openbsd.org> |
tags, formatting, ANSI-fication, prototypes, de-typos, and the occasional initialization, removal of unused variable, or other minor fix. Most changes are from or inspired by NetBSD.
|
| #
76db234b |
| 12-Mar-1998 |
pjanzen <pjanzen@openbsd.org> |
OpenBSD ID (changed from NetBSD)
|
| #
9c543b65 |
| 26-Feb-1998 |
deraadt <deraadt@openbsd.org> |
cleanup efforts care of pjanzen@foatdi.harvard.edu
|
| #
180acc8f |
| 17-Jan-1997 |
millert <millert@openbsd.org> |
r?index -> strr?chr
|