Age | Commit message (Collapse) | Author |
|
(effectively) public dommain software is weird. put that info
into a better place.
|
|
|
|
partly checked by millert@
|
|
|
|
|
|
|
|
Over a decade ago, the build infrastructure had special logic to process
man pages that ended with the suffix "tbl".
This infrastructure is long gone and the special naming for these man pages
is no longer needed.
Revert the naming of these man pages for consistency with all other man
pages in the tree. As a bonus, we remove a few lines from some of the
Makefiles making them simpler.
ok jmc@, and no objection from schwarze@
|
|
jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.
ok jmc@
|
|
person. Rewrite or use singular they.
ok thfr@ sthen@ daniel@ ian@ job@ kmos@ jcs@ ratchov@ phessler@ and
others I'm likely missing on an earlier version.
feedback tj@, feedback and ok jmc@
|
|
From trondd, OK pjanzen@
|
|
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.
|
|
their setgid bits got removed. Mark them as such in their manuals.
ok deraadt, help with wording jmc
|
|
ok deraadt@
|
|
- Remove -? from getopt(3) options, but still keep (or add) -h where applicable
- Replace hardcoded program strings by getprogname(3)
- Specific changes:
- atc(6): this used -? and -u for usage(), remove both from game and manpage
- bcd(6): use __progname instead of getprogname(3), no need to include stdlib.h
- hunt(6): replace fputs(3) by fprintf(3)
OK tb@ after his suggestions
|
|
OK tb@
|
|
ok mestre@
|
|
|
|
Lesson learnt: don't include an header sorted alphabetically just because. The
external definition of variables was done on phantglobs.h but their declaration
was on phantstruct.h and therefore the latter must be included before the
former. It's easier to just include phantstruct.h inside phantglobs.h since it
always need it.
With help and OK from tb@
|
|
ok mestre@
|
|
Convert function() to function(void).
ok mestre@
|
|
on an older diff by mestre.
ok mestre@
|
|
ok mestre@
|
|
ok mestre@
|
|
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@
|
|
With precious tip, help and also OK from tb@
|
|
to setgid games, and we started wittling them down. Nearly 10 years later I
am removing all setgid from the games. If any of these have score files they
are now broken, and I hope various folk repair them. I have argued for years
(and received pushback...) that the score file features must be removed, or
rewritten to use private files, because setgid is the wrong tool.
ok tedu
|
|
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@
|
|
code that catches lots of signals, and then re-enters curses... before
exiting.
|
|
when converting this page to mdoc(7) in revision 1.4;
noticed by Jan Stary <hans at stare dot cz>
|
|
tweaks and ok millert@, ok deraadt@
|
|
discussed with lots of people, tested by naddy@,
"move fast" deraadt@
|
|
|
|
|
|
it doesn't build; and by now i'm pretty sure everyone converted
to this new format being used since 1985
ok millert@
|
|
|
|
|
|
kill a .Pp before a list;
move AUTHORS to a more logical place;
|
|
I've skipped the GNU stuff for now. From Patrick Latifi.
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
AUTHOR -> AUTHORS;
|
|
|
|
some tidying.
|
|
|
|
|
|
|
|
already, but he may have later changes to make still.
|
|
ok pjanzen@
|
|
good enough for games but we should at least use a decent seed.
pjanzen@ OK
|
|
|
|
|