| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Create some abstraction for sending messages. | dholland | 2009-03-14 | 16 | -341/+843 |
| | | | | | | Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c. | ||||
| * | Don't use perror() | dholland | 2009-03-14 | 3 | -12/+10 |
| | | |||||
| * | constify the version string | dholland | 2009-03-14 | 2 | -5/+5 |
| | | |||||
| * | Sprinkle some "bool". And don't use '\0' to mean 'false'. | dholland | 2009-03-14 | 5 | -20/+22 |
| | | |||||
| * | Use \a instead of \7 for BEL. | dholland | 2009-03-14 | 2 | -7/+7 |
| | | |||||
| * | Prune a comment referring to objects that (AFAICT) didn't even exist in -r1.1. | dholland | 2009-03-14 | 1 | -6/+2 |
| | | |||||
| * | Don't cast the return value of calloc(). | dholland | 2009-03-14 | 2 | -6/+6 |
| | | |||||
| * | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. | dholland | 2009-03-14 | 18 | -192/+253 |
| | | | | No functional change. | ||||
| * | Remove some unnecessary casts. | dholland | 2009-03-14 | 4 | -17/+17 |
| | | |||||
| * | String buffer cleanup. sprintf bad. | dholland | 2009-03-14 | 7 | -48/+53 |
| | | |||||
| * | Don't use char for random state variables; use int or bool. | dholland | 2009-03-14 | 1 | -6/+7 |
| | | |||||
| * | sprintf -> snprintf | dholland | 2009-03-09 | 1 | -5/+8 |
| | | |||||
| * | Move HISTORY to proper place. | dholland | 2009-03-02 | 1 | -57/+58 |
| | | |||||
| * | Edit. Sync with reality, at least partway. Bump date. | dholland | 2009-03-02 | 1 | -129/+173 |
| | | |||||
| * | Sort options. End sentence with a dot. | wiz | 2009-03-02 | 1 | -8/+7 |
| | | |||||
| * | mdocify. Partly merged from OpenBSD. Not by any means perfect yet. | dholland | 2009-03-02 | 1 | -410/+527 |
| | | |||||
| * | More fixes from OpenBSD: use err instead of perror, don't hork on EOF | dholland | 2009-03-02 | 1 | -11/+15 |
| | | | | during the initial setup questions. | ||||
| * | Check for failure of fgets when reading the captain's name, and don't | dholland | 2009-03-02 | 1 | -4/+5 |
| | | | | allow it to be empty. From OpenBSD. | ||||
| * | Use errx() to send fatal error messages. From OpenBSD. | dholland | 2009-03-02 | 1 | -4/+4 |
| | | |||||
| * | Use errx/warnx instead of printing to stderr. From OpenBSD. | dholland | 2009-03-02 | 1 | -5/+5 |
| | | |||||
| * | Use err(3) and errx(3), not perror and fprintf to stderr. From OpenBSD. | dholland | 2009-03-02 | 1 | -6/+5 |
| | | |||||
| * | Braces around a nested if, for clarity; suggested by diffing against OpenBSD. | dholland | 2009-03-02 | 1 | -4/+4 |
| | | |||||
| * | Remove the \n and tabs from the __COPYRIGHT() strings. | lukem | 2008-07-20 | 1 | -4/+4 |
| | | |||||
| * | Remove clause 3 and 4 from TNF licenses | martin | 2008-04-28 | 2 | -16/+2 |
| | | |||||
| * | Make the default WARNS for games 4. The only game that needs to set WARNS | dholland | 2008-01-28 | 1 | -2/+1 |
| | | | | to anything else now is rogue, so clear WARNS from the other makefiles. | ||||
| * | Build with WARNS=4. Sort out the game's shadowing of its own variables, | dholland | 2008-01-28 | 7 | -66/+68 |
| | | | | which fixes at least one bug. | ||||
| * | convert __attribute__s to applicable cdefs.h macros | perry | 2007-12-15 | 2 | -7/+7 |
| | | |||||
| * | don't try to switch a char and have a case of EOF - use an int. | mrg | 2006-05-18 | 1 | -3/+7 |
| | | |||||
| * | fix buffer overflow (CVE-2006-1744), from Debian | drochner | 2006-04-20 | 1 | -3/+3 |
| | | |||||
| * | Coverity CID 980: Prevent an impossible NULL point deref. | christos | 2006-03-19 | 1 | -3/+3 |
| | | |||||
| * | If none of the boarding parties are set do not fall off the end of the | abs | 2006-03-18 | 2 | -5/+5 |
| | | | | | list. Addresses Coverity CID 1507. Also put pointers before shorts in a struct rather than mixing them up | ||||
| * | Use standard AUTHORS section header. From YOMURA Masanori in private mail | wiz | 2005-09-15 | 1 | -2/+2 |
| | | | | Sort sections if necessary. Use more/better markup. | ||||
| * | Add (unsigned char) cast to ctype functions | dsl | 2004-11-05 | 4 | -13/+12 |
| | | |||||
| * | Replaced strncpy with strlcpy. Thanks to Peter Postma who | jrf | 2004-09-07 | 2 | -13/+9 |
| | | | | pointed them our in PR #25762. Approved by christos@NetBSD.org. | ||||
| * | Use standard C abs function rather than local macro. | jsm | 2004-02-08 | 2 | -4/+4 |
| | | |||||
| * | Include <sys/stat.h>. | jsm | 2004-01-27 | 1 | -2/+4 |
| | | |||||
| * | Include <sys/types.h>. | jsm | 2004-01-27 | 1 | -1/+3 |
| | | |||||
| * | Use int for wait status. | jsm | 2004-01-27 | 1 | -4/+4 |
| | | |||||
| * | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | 2003-08-07 | 29 | -197/+81 |
| | | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
| * | PDP-11 instead of PDP 11. Igor Sobrado in PR 19678. | wiz | 2003-03-30 | 1 | -2/+2 |
| | | |||||
| * | Mdoc nits -- unneeded ". | wiz | 2002-09-26 | 1 | -2/+2 |
| | | |||||
| * | Ispell. | wiz | 2002-09-26 | 1 | -3/+2 |
| | | |||||
| * | New sentences begin on new lines. | wiz | 2002-09-26 | 1 | -191/+271 |
| | | | | Patch from Richard Elz, slightly improved by yours truly. | ||||
| * | Generate <>& symbolically. I'm avoiding .../dist/... directories for now. | ross | 2002-02-08 | 1 | -6/+6 |
| | | |||||
| * | Changed deprecated curses call to new equivalent. | blymn | 2001-12-06 | 1 | -3/+3 |
| | | |||||
| * | va_{start,end} audit: | wiz | 2001-09-24 | 1 | -4/+4 |
| | | | | | | | | | | | | | | Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility). Improved by comments from enami and christos -- thanks! Heimdal/krb4/KAME changes already fed back, rest to follow. Inspired by, but not not based on, OpenBSD. | ||||
| * | Include <time.h> for declarations the Single Unix Specification says | jsm | 2001-08-29 | 1 | -2/+3 |
| | | | | are there but not in <sys/time.h>. | ||||
| * | Whitespace and/or punctuation fixes. | wiz | 2001-04-02 | 1 | -32/+32 |
| | | |||||
| * | remove redundant decls. | christos | 2001-02-05 | 20 | -132/+40 |
| | | |||||
| * | include stdlib.h for prototypes (typically for exit()). | cgd | 2001-01-16 | 3 | -6/+9 |
| | | |||||
