Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use standard C abs function rather than local macro. | 2004-02-08 | 2 | -4/+4 | ||
| | ||||||
* | Include <sys/stat.h>. | 2004-01-27 | 1 | -2/+4 | ||
| | ||||||
* | Include <sys/types.h>. | 2004-01-27 | 1 | -1/+3 | ||
| | ||||||
* | Use int for wait status. | 2004-01-27 | 1 | -4/+4 | ||
| | ||||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | 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. | 2003-03-30 | 1 | -2/+2 | ||
| | ||||||
* | Mdoc nits -- unneeded ". | 2002-09-26 | 1 | -2/+2 | ||
| | ||||||
* | Ispell. | 2002-09-26 | 1 | -3/+2 | ||
| | ||||||
* | New sentences begin on new lines. | 2002-09-26 | 1 | -191/+271 | ||
| | | | Patch from Richard Elz, slightly improved by yours truly. | |||||
* | Generate <>& symbolically. I'm avoiding .../dist/... directories for now. | 2002-02-08 | 1 | -6/+6 | ||
| | ||||||
* | Changed deprecated curses call to new equivalent. | 2001-12-06 | 1 | -3/+3 | ||
| | ||||||
* | va_{start,end} audit: | 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 | 2001-08-29 | 1 | -2/+3 | ||
| | | | are there but not in <sys/time.h>. | |||||
* | Whitespace and/or punctuation fixes. | 2001-04-02 | 1 | -32/+32 | ||
| | ||||||
* | remove redundant decls. | 2001-02-05 | 20 | -132/+40 | ||
| | ||||||
* | include stdlib.h for prototypes (typically for exit()). | 2001-01-16 | 3 | -6/+9 | ||
| | ||||||
* | need string.h for prototype (checked with alpha) | 2001-01-04 | 3 | -6/+9 | ||
| | ||||||
* | Normalize signature of ship handling functions -- struct ship * from and | 2001-01-04 | 8 | -54/+54 | ||
| | | | struct ship * to are now always the first two args. | |||||
* | Various stylistic nits. | 2001-01-04 | 8 | -36/+40 | ||
| | ||||||
* | Use License templates from localsrc for license on new files. | 2001-01-04 | 2 | -4/+18 | ||
| | ||||||
* | Break out curses display-related globals into a new header file, so that | 2001-01-04 | 10 | -32/+73 | ||
| | | | <curses.h> doesn't have to be included all over the place. | |||||
* | More rationalization of include files: | 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 | 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. | 2001-01-04 | 12 | -42/+104 | ||
| | ||||||
* | G/C undocumented and unimplemented `-D' (debug) option. | 2001-01-04 | 3 | -11/+6 | ||
| | ||||||
* | First half of static-ization of local funcs. | 2001-01-04 | 9 | -40/+69 | ||
| | ||||||
* | De-`register' | 2001-01-04 | 1 | -5/+5 | ||
| | ||||||
* | Fix getopt usage (again) in case where user does not choose a scenario on | 2001-01-01 | 1 | -2/+5 | ||
| | | | the command line. | |||||
* | Missed commit -- ANSIfy in preparation for further work. | 2001-01-01 | 1 | -27/+27 | ||
| | ||||||
* | Fix getopt() usage. | 2001-01-01 | 1 | -3/+3 | ||
| | ||||||
* | ANSIfy in preparation for further work. | 2001-01-01 | 21 | -481/+328 | ||
| | ||||||
* | Fix warning. | 2000-11-30 | 1 | -3/+3 | ||
| | ||||||
* | Use random() instead of rand(), and seed from time(3) instead of from getpid(). | 2000-11-30 | 2 | -5/+5 | ||
| | ||||||
* | Change the macro to roll a six-sided die from die() to dieroll() (for | 2000-11-30 | 8 | -33/+32 | ||
| | | | obvious reasons of convention). | |||||
* | ANSIfy in preparation for changes. | 2000-11-30 | 1 | -99/+99 | ||
| | ||||||
* | Use getopt(3) for flag processing. | 2000-11-30 | 1 | -5/+11 | ||
| | ||||||
* | Fix style nit. | 2000-11-30 | 1 | -3/+3 | ||
| | ||||||
* | ANSIfy in preparation for other changes. | 2000-11-30 | 1 | -6/+4 | ||
| | ||||||
* | More include additions for exit, abs, strcmp, etc. | 2000-07-03 | 3 | -6/+9 | ||
| | ||||||
* | Don't make /var/games/sail here. | 2000-06-11 | 1 | -8/+1 | ||
| | ||||||
* | avoid failure on "make install" when /var/games/sail already exists. | 2000-02-12 | 1 | -2/+2 | ||
| | ||||||
* | Fix insecure /tmp usage in sail. | 2000-02-09 | 8 | -29/+72 | ||
| | | | | | Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged. | |||||
* | Don't initialise curses until after the initial non-curses setup (the | 2000-01-31 | 2 | -8/+8 | ||
| | | | choice of scenario uses puts() rather than curses functions). | |||||
* | Use separate definitions and extern declarations of variables rather | 1999-12-28 | 4 | -45/+82 | ||
| | | | than linker commons. | |||||
* | Fix uses of namespaces reserved by ISO C or POSIX.1. | 1999-09-30 | 4 | -22/+22 | ||
| | ||||||
* | Fix some uses of NULL as non-pointer and 0 for null pointer. | 1999-09-17 | 1 | -3/+4 | ||
| | ||||||
* | Include <time.h> in various places in the games where time() or time_t | 1999-09-09 | 1 | -2/+3 | ||
| | | | are used. | |||||
* | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in | 1999-09-08 | 1 | -3/+3 | ||
| | | | the games. | |||||
* | Add `__noreturn__' and `__unused__' attributes where appropriate to | 1999-09-08 | 3 | -9/+9 | ||
| | | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed). | |||||
* | Add use of `const' where appropriate to the games. | 1999-09-08 | 10 | -81/+85 | ||
| | | | | | | | | | This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093. |