summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Assorted minor cleanups, no functional change:dholland2009-07-2013-112/+137
| | | | | | | | | | - u_int* -> uint* - don't make private typedefs of system structures - use curses TRUE and FALSE only with curses booleans, otherwise true and false; - includes cleanup - group globals in extern.c by functionality Object file diffs inspected.
* A bit more whitespace.dholland2009-07-202-7/+7
|
* Whitespace.dholland2009-07-2013-231/+231
|
* ANSIfy. Use __dead. Object diffs checked.dholland2009-07-2012-98/+69
|
* ANSIfy. Also, we now have RANDOM_MAX; use it. Object diffs checked...dholland2009-07-201-12/+7
|
* Rename internal getline() function to get_line() so it doesroy2009-07-139-34/+34
| | | conflict with the soon to be added getline(3) libc function.
* Remove config options for 4.2BSD and 4.3BSD, and associated code. Highlydholland2009-07-046-109/+20
| | | obsolete, and I doubt most of it still worked anyway.
* Remove the non-curses screen handling, since it relies on knowingdholland2009-07-045-346/+14
| | | | | about various internals of SVR4 curses, old BSD curses, and/or other unclean things. (Yes, the non-curses handling still used bits of curses. Fie.)
* Remove config for the return type of signal handlers, which is also adholland2009-07-046-37/+36
| | | long-dead issue.
* Remove references to config #defines for the thoroughly obsoletedholland2009-07-043-22/+9
| | | 4.2BSD syslog API.
* more whitespacedholland2009-07-041-3/+3
|
* Various minor fixes, mostly from OpenBSD.dholland2009-07-041-51/+83
|
* Notes on the protocol used by hunt, from OpenBSD.dholland2009-07-041-0/+272
|
* Whitespace.dholland2009-07-044-615/+615
|
* Whitespace.dholland2009-07-0417-1123/+1134
|
* Sigh, more of the same (missed two)dholland2009-07-041-3/+3
|
* __attribute__((__noreturn__)) -> __deaddholland2009-07-041-5/+5
|
* ANSIfy function declarations.dholland2009-07-0416-297/+152
|
* Remove two more bogus casts. These *do* create object diffs on amd64,dholland2009-07-041-4/+4
| | | for no clear reason, but it looks like the diffs are harmless.
* Remove bogus casts. Two object file diffs inspected and found to be harmless.dholland2009-07-043-20/+19
|
* Remove a pile of bogus casts. One object file diff, crosschecked anddholland2009-07-048-43/+43
| | | found harmless.
* Fix two serious string-handling bugs (one exploitable, one probablydholland2009-06-297-33/+49
| | | | exploitable) and also add proper checking/paranoia in several other places.
* sprintf -> snprintfdholland2009-06-287-43/+58
|
* Fix possible remote DoS of a running hunt game, and prevent a possibledholland2009-06-281-3/+9
| | | theoretical attack involving >= 1 billion ammo.
* a bit more constdholland2009-06-072-5/+5
|
* sprinkle some more constdholland2009-06-073-9/+9
|
* remove unnecessary castsdholland2009-06-072-18/+18
|
* sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriatedholland2009-06-0714-181/+274
| | | XXX: there's still one sprintf left which will take some hacking to expunge.
* ANSIfy function declarations. All object file diffs inspected.dholland2009-06-0753-1060/+687
|
* Rectify non-compiling code that appears when DEBUG is defined.dholland2009-06-042-25/+29
|
* Set WARNS=4 here. This got missed on my previous WARNS sweep in games.dholland2009-06-041-2/+2
| | | Everything appears to compile ok with WARNS=4 anyway though.
* Remove global scratch string buffer. Don't zoom off the end while readingdholland2009-06-042-11/+10
| | | user input, either.
* Remove remaining references to sprintf.dholland2009-06-042-36/+47
|
* Make a couple of the logging/printing functions printf-alikes. This removesdholland2009-06-043-82/+78
| | | most of the calls to sprintf.
* attribute noreturn -> __deaddholland2009-06-041-4/+4
|
* sprintf -> snprintfdholland2009-06-041-3/+3
|
* Increase spending on vowels. No object file diffs.dholland2009-06-045-69/+69
|
* ANSIfy function declarations.xdholland2009-06-046-106/+53
|
* sprintf -> snprintfdholland2009-06-043-11/+13
|
* Don't use a variable-size array here. There's not really that much point.dholland2009-06-011-2/+2
|
* Rearrange where the alternate definition of __dead goes.dholland2009-05-272-6/+6
| | | | | It can't be before "include.h" as that includes a bunch of system headers, but it can't be after either as it also includes a bunch of local headers. Therefore, it needs to be *in* include.h.
* Edit some.dholland2009-05-261-36/+34
|
* Assorted fixes (mostly grammar, some markup) from OpenBSD.dholland2009-05-261-50/+68
|
* Paranoia about lengths of login names. From pjanzen of OpenBSD.dholland2009-05-261-2/+2
|
* Avoid SIGSEGV on users not in password file. From pjanzen of OpenBSD.dholland2009-05-261-3/+10
|
* sprintf -> snprintfdholland2009-05-263-18/+26
|
* attribute noreturn -> __deaddholland2009-05-251-3/+3
|
* We don't need a private #define "unsgn" for "unsigned", especially sincedholland2009-05-252-5/+4
| | | it was used exactly once.
* Use the time to call srandom(), not getpid().dholland2009-05-251-3/+4
|
* KNF/whitespace: format preprocessor directives correctly.dholland2009-05-2511-147/+147
|