Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chdir to /var/games/sail while running, to simplify name handling. | dholland | 2009-03-14 | 1 | -14/+41 |
| | |||||
* | Don't crosswire the two kinds of path names, and don't croak on | dholland | 2009-03-14 | 1 | -4/+4 |
| | | | scenario numbers > 99. | ||||
* | Turns out the W_FILE message wasn't ever used. | dholland | 2009-03-14 | 1 | -17/+3 |
| | |||||
* | Create some abstraction for sending messages. | dholland | 2009-03-14 | 1 | -193/+680 |
| | | | | | 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. | ||||
* | Use \a instead of \7 for BEL. | dholland | 2009-03-14 | 1 | -3/+3 |
| | |||||
* | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. | dholland | 2009-03-14 | 1 | -5/+8 |
| | | | No functional change. | ||||
* | Remove some unnecessary casts. | dholland | 2009-03-14 | 1 | -3/+3 |
| | |||||
* | String buffer cleanup. sprintf bad. | dholland | 2009-03-14 | 1 | -10/+13 |
| | |||||
* | Build with WARNS=4. Sort out the game's shadowing of its own variables, | dholland | 2008-01-28 | 1 | -11/+11 |
| | | | which fixes at least one bug. | ||||
* | don't try to switch a char and have a case of EOF - use an int. | mrg | 2006-05-18 | 1 | -3/+7 |
| | |||||
* | Replaced strncpy with strlcpy. Thanks to Peter Postma who | jrf | 2004-09-07 | 1 | -8/+6 |
| | | | pointed them our in PR #25762. Approved by christos@NetBSD.org. | ||||
* | Include <sys/stat.h>. | jsm | 2004-01-27 | 1 | -2/+4 |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | 2003-08-07 | 1 | -7/+3 |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | remove redundant decls. | christos | 2001-02-05 | 1 | -13/+2 |
| | |||||
* | Various stylistic nits. | jwise | 2001-01-04 | 1 | -4/+6 |
| | |||||
* | More rationalization of include files: | jwise | 2001-01-04 | 1 | -2/+4 |
| | | | | | | | | 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 | 1 | -9/+4 |
| | | | | 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 | 1 | -3/+14 |
| | |||||
* | ANSIfy in preparation for further work. | jwise | 2001-01-01 | 1 | -84/+39 |
| | |||||
* | Fix insecure /tmp usage in sail. | jsm | 2000-02-09 | 1 | -12/+31 |
| | | | | | 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. | ||||
* | Include <time.h> in various places in the games where time() or time_t | jsm | 1999-09-09 | 1 | -2/+3 |
| | | | are used. | ||||
* | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in | jsm | 1999-09-08 | 1 | -3/+3 |
| | | | the games. | ||||
* | The game sail(6) has a function Write() which is used both with | hubertf | 1999-02-10 | 1 | -23/+40 |
| | | | | | | | | | | | | integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability. The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun. Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>. | ||||
* | fix prototype, per PR#5867 | hubertf | 1998-09-11 | 1 | -2/+3 |
| | |||||
* | Add braces to make the new egcs happy. | veego | 1998-08-30 | 1 | -5/+8 |
| | |||||
* | remove extern errno. | mrg | 1998-03-29 | 1 | -3/+2 |
| | |||||
* | - make sure that the arguments to the printf like functions are correct | christos | 1997-10-13 | 1 | -5/+29 |
| | | | - add a makemsg() function to accompany makesignal. | ||||
* | Warns fixes: | christos | 1997-10-13 | 1 | -36/+91 |
| | | | | | | use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings | ||||
* | Sync to 4.4BSD-Lite2 | tls | 1997-01-07 | 1 | -5/+5 |
| | |||||
* | Various changes to make games compile w/o warnings on the alpha: | cgd | 1995-04-24 | 1 | -7/+9 |
| | | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts. | ||||
* | clean up import, NetBSD RCS IDs | cgd | 1995-04-22 | 1 | -4/+9 |
| | |||||
* | Add RCS identifiers. | mycroft | 1993-08-01 | 1 | -1/+2 |
| | |||||
* | initial import of 386bsd-0.1 sources | cgd | 1993-03-21 | 1 | -0/+421 |