Age | Commit message (Collapse) | Author |
|
Those functions are unused and have been compiled out since 1998,
it's time to let them go.
OK sthen@, tom@, mestre@
|
|
This was prompted by an initial patch sent by Edgar Pettijohn
<edgar ! pettijohn-web.com> but the actual commit is different
|
|
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@
|
|
"obfuscation" scheme to work (words fail me), but we can use arc4random
for the in game fun. from theo buehler
|
|
and <sys/ttydefaults.h>
Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX
Pull in <limits.h> where needed
Prefer sizeof(var) over MAXFOO or FOO_MAX
ok deraadt@
|
|
suggestions and ok millert@
|
|
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
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
for getin() to have static buffers and allows us to do "sizeof wd1".
Also fix saved game path. It was removing the first 2 chars of
the filename due to a bug.
tdeval@ OK
|
|
already, but he may have later changes to make still.
|
|
|
|
buffer overflow on file name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|