Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | need string.h for prototype (checked with alpha) | itojun | 2001-01-04 | 3 | -6/+9 | |
| | ||||||
* | Normalize signature of ship handling functions -- struct ship * from and | jwise | 2001-01-04 | 8 | -54/+54 | |
| | | | struct ship * to are now always the first two args. | |||||
* | Various stylistic nits. | jwise | 2001-01-04 | 8 | -36/+40 | |
| | ||||||
* | Use License templates from localsrc for license on new files. | jwise | 2001-01-04 | 2 | -4/+18 | |
| | ||||||
* | Break out curses display-related globals into a new header file, so that | jwise | 2001-01-04 | 10 | -32/+73 | |
| | | | <curses.h> doesn't have to be included all over the place. | |||||
* | More rationalization of include files: | jwise | 2001-01-04 | 21 | -46/+100 | |
| | | | | | | | | a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places). The (one line) new file is (c) TNF with a three-clause license, FW(L)IW. | |||||
* | Rationalize inclusion of header files: cut down on `include everything | jwise | 2001-01-04 | 16 | -67/+61 | |
| | | | | everywhere' a little (more to go), and as per KNF, local includes after system includes. | |||||
* | Second half of static-ization of local funcs. | jwise | 2001-01-04 | 12 | -42/+104 | |
| | ||||||
* | G/C undocumented and unimplemented `-D' (debug) option. | jwise | 2001-01-04 | 3 | -11/+6 | |
| | ||||||
* | First half of static-ization of local funcs. | jwise | 2001-01-04 | 9 | -40/+69 | |
| | ||||||
* | De-`register' | jwise | 2001-01-04 | 1 | -5/+5 | |
| | ||||||
* | Fix getopt usage (again) in case where user does not choose a scenario on | jwise | 2001-01-01 | 1 | -2/+5 | |
| | | | the command line. | |||||
* | Missed commit -- ANSIfy in preparation for further work. | jwise | 2001-01-01 | 1 | -27/+27 | |
| | ||||||
* | Fix getopt() usage. | jwise | 2001-01-01 | 1 | -3/+3 | |
| | ||||||
* | ANSIfy in preparation for further work. | jwise | 2001-01-01 | 21 | -481/+328 | |
| | ||||||
* | Fix warning. | jwise | 2000-11-30 | 1 | -3/+3 | |
| | ||||||
* | Use random() instead of rand(), and seed from time(3) instead of from getpid(). | jwise | 2000-11-30 | 2 | -5/+5 | |
| | ||||||
* | Change the macro to roll a six-sided die from die() to dieroll() (for | jwise | 2000-11-30 | 8 | -33/+32 | |
| | | | obvious reasons of convention). | |||||
* | ANSIfy in preparation for changes. | jwise | 2000-11-30 | 1 | -99/+99 | |
| | ||||||
* | Use getopt(3) for flag processing. | jwise | 2000-11-30 | 1 | -5/+11 | |
| | ||||||
* | Fix style nit. | jwise | 2000-11-30 | 1 | -3/+3 | |
| | ||||||
* | ANSIfy in preparation for other changes. | jwise | 2000-11-30 | 1 | -6/+4 | |
| | ||||||
* | More include additions for exit, abs, strcmp, etc. | matt | 2000-07-03 | 3 | -6/+9 | |
| | ||||||
* | Don't make /var/games/sail here. | mycroft | 2000-06-11 | 1 | -8/+1 | |
| | ||||||
* | avoid failure on "make install" when /var/games/sail already exists. | itojun | 2000-02-12 | 1 | -2/+2 | |
| |