Home | History | Annotate | Download | only in sail
History log of /src/games/sail/assorted.c
RevisionDateAuthorComments
 1.19  16-Aug-2011  christos avoid non-literal format string
 1.18  23-May-2011  joerg Don't use variables as format string.
 1.17  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.16  14-Mar-2009  dholland Lines <= 80 chars, remove trailing whitespace, other formatting adjustments.
No functional change.
 1.15  07-Aug-2003  agc branches: 1.15.40;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.14  05-Feb-2001  christos remove redundant decls.
 1.13  04-Jan-2001  jwise Normalize signature of ship handling functions -- struct ship * from and
struct ship * to are now always the first two args.
 1.12  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.11  04-Jan-2001  jwise First half of static-ization of local funcs.
 1.10  01-Jan-2001  jwise ANSIfy in preparation for further work.
 1.9  30-Nov-2000  jwise Change the macro to roll a six-sided die from die() to dieroll() (for
obvious reasons of convention).
 1.8  08-Sep-1999  jsm Add use of `const' where appropriate to 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).

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.
 1.7  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.6  13-Oct-1997  christos - make sure that the arguments to the printf like functions are correct
- add a makemsg() function to accompany makesignal.
 1.5  13-Oct-1997  christos Warns fixes:
use varargs properly
use unsigned chars where appropriate
fix typos
eliminate gcc warnings
 1.4  07-Jan-1997  tls Sync to 4.4BSD-Lite2
 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.15.40.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

RSS XML Feed