| History log of /src/games/sail/sync.c |
| Revision | | Date | Author | Comments |
| 1.34 |
| 19-Oct-2013 |
christos | fix unused variable warnings
|
| 1.33 |
| 14-Mar-2009 |
dholland | branches: 1.33.6; 1.33.12; chdir to /var/games/sail while running, to simplify name handling.
|
| 1.32 |
| 14-Mar-2009 |
dholland | Don't crosswire the two kinds of path names, and don't croak on scenario numbers > 99.
|
| 1.31 |
| 14-Mar-2009 |
dholland | Turns out the W_FILE message wasn't ever used.
|
| 1.30 |
| 14-Mar-2009 |
dholland | Create some abstraction for sending messages. 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.
|
| 1.29 |
| 14-Mar-2009 |
dholland | Use \a instead of \7 for BEL.
|
| 1.28 |
| 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.27 |
| 14-Mar-2009 |
dholland | Remove some unnecessary casts.
|
| 1.26 |
| 14-Mar-2009 |
dholland | String buffer cleanup. sprintf bad.
|
| 1.25 |
| 28-Jan-2008 |
dholland | branches: 1.25.12; Build with WARNS=4. Sort out the game's shadowing of its own variables, which fixes at least one bug.
|
| 1.24 |
| 18-May-2006 |
mrg | branches: 1.24.10; don't try to switch a char and have a case of EOF - use an int.
|
| 1.23 |
| 07-Sep-2004 |
jrf | Replaced strncpy with strlcpy. Thanks to Peter Postma who pointed them our in PR #25762. Approved by christos@NetBSD.org.
|
| 1.22 |
| 27-Jan-2004 |
jsm | Include <sys/stat.h>.
|
| 1.21 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.20 |
| 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.19 |
| 04-Jan-2001 |
jwise | Various stylistic nits.
|
| 1.18 |
| 04-Jan-2001 |
jwise | More rationalization of include files:
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.
|
| 1.17 |
| 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.16 |
| 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.15 |
| 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.14 |
| 09-Feb-2000 |
jsm | Fix insecure /tmp usage in sail.
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.
|
| 1.13 |
| 09-Sep-1999 |
jsm | Include <time.h> in various places in the games where time() or time_t are used.
|
| 1.12 |
| 08-Sep-1999 |
jsm | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in the games.
|
| 1.11 |
| 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with 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>.
|
| 1.10 |
| 11-Sep-1998 |
hubertf | fix prototype, per PR#5867
|
| 1.9 |
| 30-Aug-1998 |
veego | Add braces to make the new egcs happy.
|
| 1.8 |
| 29-Mar-1998 |
mrg | remove extern errno.
|
| 1.7 |
| 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.6 |
| 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.5 |
| 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.4 |
| 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.3 |
| 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 |
| 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 |
| 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.24.10.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
| 1.25.12.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.33.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.33.6.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|