| History log of /src/games/monop |
| Revision | Date | Author | Comments |
| 1.30 | 24-Feb-2008 |
dholland | Abolish the initdeck program and the weird little binary file it generates. The card deck data is now compiled in. (And it always should have been, even back when memory usage counted. It's small.)
This changes the save format slightly. (I am riding the previous breakage an hour ago and not providing compat. There should be no further breakage.)
|
| 1.29 | 24-Feb-2008 |
dholland | Remove last traces of old save/load code. We no longer need a private copy of malloc.
|
| 1.28 | 17-Nov-2007 |
dogcow | branches: 1.28.4; A terrible kludge: don't compile/link malloc.c if arch=sun2. My apologies to the legions of sun2 monop fans who will probably be unable to save/restore games.
|
| 1.27 | 16-Nov-2003 |
lukem | branches: 1.27.22; Improve how various "simple" host tools are built and invoked.
|
| 1.26 | 21-Oct-2003 |
lukem | Rework how MAKEVERBOSE operates:
* Don't bother prefixing commands with a line of ${_MKCMD}\ and instead rely upon "make -s". This is less intrusive on all the Makefiles than the former. Idea from David Laight.
* Rename the variables use to print messages. The scheme now is: _MKMSG_FOO Run _MKMSG 'foo' _MKTARGET_FOO Run _MKMSG_FOO ${.TARGET} From discussion with Alistair Crooks.
|
| 1.25 | 19-Oct-2003 |
lukem | rework to use the newer _MKMSGCREATE (et al) macros
|
| 1.24 | 19-Oct-2003 |
lukem | Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages)
|
| 1.23 | 21-Apr-2003 |
christos | use an sbrk() only malloc() because save and restore depends on saving the data segment only. Maybe we should make libbsdmalloc?
|
| 1.22 | 05-Mar-2002 |
thorpej | No need to reference .OBJDIR here.
|
| 1.21 | 06-Jun-2001 |
lukem | fix building of cards.pck
|
| 1.20 | 13-Feb-1999 |
lukem | convert from NOxxx= to MKxxx=no. include <bsd.own.mk> if testing a MKxxx variable.
|
| 1.19 | 29-Sep-1998 |
lukem | don't install in /usr/share if NOSHARE is defined
|
| 1.18 | 12-Sep-1998 |
wrstuden | Make the helper programs compile right in a cross-compiling environment.
|
| 1.17 | 12-Oct-1997 |
christos | WARNSify
|
| 1.16 | 12-Oct-1997 |
lukem | enable WARNS?=1 by default, & temporarily disable for the few unclean programs
|
| 1.15 | 19-Apr-1997 |
thorpej | Allow this to be cross-compiled.
|
| 1.14 | 24-Mar-1997 |
christos | - Makefile cleanups
|
| 1.13 | 18-Oct-1996 |
thorpej | Use ${INSTALL}.
|
| 1.12 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.11 | 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.10 | 04-Jan-1994 |
pk | Use .OBJDIR for auxiliary programs.
|
| 1.9 | 08-Nov-1993 |
cgd | use LDSTATIC
|
| 1.8 | 10-Aug-1993 |
mycroft | Nuke `all' dependency. bsd.prog.mk does it, and correctly.
|
| 1.7 | 10-Aug-1993 |
mycroft | Tweak for cross-compilation.
|
| 1.6 | 07-Aug-1993 |
mycroft | New version from uunet.
|
| 1.5 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.4 | 18-Jul-1993 |
mycroft | Use ${COPY}, not -c for install.
|
| 1.3 | 09-Apr-1993 |
cgd | copy deck of cards, rather than moving it, on install
|
| 1.2 | 23-Mar-1993 |
cgd | got rid of unnecessary -lcompat and associated dependency
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.27.22.2 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.27.22.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.28.4.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.6 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.5 | 19-Feb-2008 |
dholland | branches: 1.5.2; Fix capitalization of street names. from pjanzen@openbsd
|
| 1.4 | 28-Jan-2008 |
dholland | Make this build with WARNS=4.
|
| 1.3 | 07-Aug-2003 |
agc | branches: 1.3.22; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.2 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.3.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.5.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.27 | 29-Dec-2014 |
jnemeth | PR/49513 - Henning Petersen -- tyop
|
| 1.26 | 29-Dec-2014 |
jnemeth | PR/49513 - Henning Petersen -- tyop
|
| 1.25 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.24 | 26-Sep-2010 |
dholland | branches: 1.24.6; Avoid undefined behavior, from Chris Spiegel in PR 43860.
|
| 1.23 | 24-Feb-2008 |
christos | fix some lint
|
| 1.22 | 24-Feb-2008 |
dholland | Abolish the initdeck program and the weird little binary file it generates. The card deck data is now compiled in. (And it always should have been, even back when memory usage counted. It's small.)
This changes the save format slightly. (I am riding the previous breakage an hour ago and not providing compat. There should be no further breakage.)
|
| 1.21 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.20 | 23-Feb-2008 |
dholland | Improve the behavior of get-out-of-jail-free cards by returning them to the bottom of the deck when used. There are still a few other problems. From OpenBSD.
|
| 1.19 | 23-Feb-2008 |
dholland | Rename ->last_card to ->top_card to match OpenBSD (and also to make somewhat more sense...)
|
| 1.18 | 23-Feb-2008 |
dholland | Move ret_card() to cards.c, where it more rationally belongs. From OpenBSD.
|
| 1.17 | 19-Feb-2008 |
dholland | branches: 1.17.2; KNF/whitespace nits. No functional changes.
|
| 1.16 | 19-Feb-2008 |
dholland | Don't use perror(); use err/warn instead. Suggested by diffing against OpenBSD.
|
| 1.15 | 28-Jan-2008 |
dholland | Make this build with WARNS=4.
|
| 1.14 | 27-Jan-2004 |
jsm | branches: 1.14.22; Remove uses of __P.
|
| 1.13 | 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.12 | 12-Aug-2002 |
itojun | calloc() arg mistake. it's (nelem, size). from openbsd
|
| 1.11 | 30-Dec-1999 |
simonb | Don't use <err.h>. Use ANSI prototypes (no dependance on the __P() macro). Add new fwrite_be_offt() function which writes out a big-endian 64bit number regards of the size of off_t on the host machine.
Also fix ``bug'' in previous - even though the off_t pointers were stored big-endian, the individual card lenghs were in host-order. The cards.pck files are now identical when make on a big- or little-endian machine.
Now builds a correct cards.pck file on non-NetBSD machines as well - tested on Ultrix and Solaris (but Solaris needs -lsocket to get htonl()).
|
| 1.10 | 09-Sep-1999 |
jsm | Check for failure of malloc() and calloc() at various places in the games.
|
| 1.9 | 08-Sep-1999 |
jsm | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in the games.
|
| 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 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.6 | 21-Aug-1999 |
simonb | Instead of writing out a structure that contains pointers as the header of the card decks file, just write out the number of cards for each deck. Also use "off_t" for offsets into the file (that are stored after the number of cards) instead of "long". /usr/share/games/cards.pck is now MI.
|
| 1.5 | 30-Aug-1998 |
veego | Add braces to make the new egcs happy.
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.14.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.17.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.24.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.3 | 24-Feb-2008 |
dholland | This file is also no longer used.
|
| 1.2 | 17-May-2000 |
hubertf | branches: 1.2.28; 1.2.34; Fix typo, pointed out by seebs@plethora.net in PR bin/10131.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.2.34.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.2.28.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.9 | 24-Feb-2008 |
dholland | Abolish the initdeck program and the weird little binary file it generates. The card deck data is now compiled in. (And it always should have been, even back when memory usage counted. It's small.)
This changes the save format slightly. (I am riding the previous breakage an hour ago and not providing compat. There should be no further breakage.)
|
| 1.8 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.7 | 23-Feb-2008 |
dholland | Rename ->last_card to ->top_card to match OpenBSD (and also to make somewhat more sense...)
|
| 1.6 | 07-Aug-2003 |
agc | branches: 1.6.22; 1.6.28; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.5 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.4 | 21-Aug-1999 |
simonb | Instead of writing out a structure that contains pointers as the header of the card decks file, just write out the number of cards for each deck. Also use "off_t" for offsets into the file (that are stored after the number of cards) instead of "long". /usr/share/games/cards.pck is now MI.
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.6.28.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.6.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.22 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.21 | 24-Feb-2008 |
dholland | branches: 1.21.6; Don't crash if we're asked to restore from /dev/null. (woops)
|
| 1.20 | 24-Feb-2008 |
dholland | Fix some more lint. (There's plenty to go around.)
If we try to load a game and it bombs, keep prompting for another one, because if we try to continue with a half-loaded game we'll probably end up in trouble.
|
| 1.19 | 24-Feb-2008 |
christos | fix some lint
|
| 1.18 | 24-Feb-2008 |
dholland | Abolish the initdeck program and the weird little binary file it generates. The card deck data is now compiled in. (And it always should have been, even back when memory usage counted. It's small.)
This changes the save format slightly. (I am riding the previous breakage an hour ago and not providing compat. There should be no further breakage.)
|
| 1.17 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.16 | 24-Feb-2008 |
dholland | Remove last traces of old save/load code. We no longer need a private copy of malloc.
|
| 1.15 | 24-Feb-2008 |
dholland | New save/load code. Related to (but not the same as) the new save/load code in OpenBSD.
Note: this breaks compatibility with old save files. However, the old save files were missing critical information, had a completely insane format, and didn't work anyway.
I will be riding this breakage with another breakage within a day or two when I fix the insanity in the card deck handling.
|
| 1.14 | 19-Feb-2008 |
dholland | branches: 1.14.2; KNF/whitespace nits. No functional changes.
|
| 1.13 | 19-Feb-2008 |
dholland | Don't use perror(); use err/warn instead. Suggested by diffing against OpenBSD.
|
| 1.12 | 28-Jan-2008 |
dholland | Make this build with WARNS=4.
|
| 1.11 | 27-Jan-2004 |
jsm | branches: 1.11.22; Remove uses of __P.
|
| 1.10 | 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.9 | 21-Apr-2003 |
christos | PR/8247: Simon Burge: monop(6) save/restore doesn't work. With the advent of elf and mmaping malloc, assumptions that the code made before about location and contents of the data segment broke. We supplied an sbrk() only malloc, and recorded the break point at the beginning of the program, so now save and restore works, in the traditional monop style.
|
| 1.8 | 29-Aug-2001 |
jsm | Include <time.h> for declarations the Single Unix Specification says are there but not in <sys/time.h>.
|
| 1.7 | 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.6 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.5 | 11-Sep-1998 |
hubertf | use symbolic constants for signals & open(2), as per PR#5867
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.11.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.14.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.21.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.19 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.18 | 24-Feb-2008 |
dholland | branches: 1.18.6; Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.17 | 23-Feb-2008 |
dholland | Sanity fixes for input buffer handling. From OpenBSD
|
| 1.16 | 19-Feb-2008 |
dholland | branches: 1.16.2; KNF/whitespace nits. No functional changes.
|
| 1.15 | 28-Jan-2008 |
dholland | Make this build with WARNS=4.
|
| 1.14 | 20-Jan-2006 |
elad | branches: 1.14.10; better handle ^d in getinp(), so we dont loop endlessly. i have no idea why i wanted to play this game.
|
| 1.13 | 05-Nov-2004 |
dsl | Add (unsigned char) cast to ctype functions
|
| 1.12 | 27-Jan-2004 |
jsm | Remove uses of __P.
|
| 1.11 | 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.10 | 06-Jan-2003 |
wiz | interrupt with two rs.
|
| 1.9 | 10-Jul-2000 |
itojun | printf() pedant - do not pass variable alone, use %s. idea from openbsd. after looking at freebsd commit msgs from kris@freebsd.
|
| 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 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.6 | 12-Oct-1997 |
christos | WARNSify
|
| 1.5 | 29-Mar-1997 |
thorpej | Make these compile on the PowerPC (an unsigned char system).
|
| 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 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.14.10.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.16.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.18.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.15 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.14 | 24-Feb-2008 |
dholland | branches: 1.14.6; Fix the OpenBSD housing shortage code.
|
| 1.13 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.12 | 23-Feb-2008 |
dholland | A first stab at supporting the housing shortage rules. From OpenBSD. (note: this is not fully correct - I will fix it when I finish merging)
|
| 1.11 | 23-Feb-2008 |
dholland | Don't increment booleans. From OpenBSD
|
| 1.10 | 19-Feb-2008 |
dholland | branches: 1.10.2; Don't use sprintf; use snprintf.
|
| 1.9 | 19-Mar-2006 |
christos | branches: 1.9.10; Coverity CID 998: Possible NULL pointer deref. Actually this was a bug where a house to be sold would be skipped. Change the sell loop to be like the buy side loop.
|
| 1.8 | 27-Jan-2004 |
jsm | Remove uses of __P.
|
| 1.7 | 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.6 | 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.5 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.9.10.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.10.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.14.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.17 | 24-Feb-2008 |
dholland | Abolish the initdeck program and the weird little binary file it generates. The card deck data is now compiled in. (And it always should have been, even back when memory usage counted. It's small.)
This changes the save format slightly. (I am riding the previous breakage an hour ago and not providing compat. There should be no further breakage.)
|
| 1.16 | 19-Feb-2008 |
dholland | branches: 1.16.2; Fix typo in comment
|
| 1.15 | 07-Aug-2003 |
agc | branches: 1.15.22; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.14 | 22-Jul-2001 |
wiz | seperate -> separate
|
| 1.13 | 31-Jul-2000 |
simonb | Use a local implementation of htonl() called h2nl(). htonl() is not available in all cross-compile environments.
Patches from Chris Demetriou.
|
| 1.12 | 30-Dec-1999 |
simonb | Don't use <err.h>. Use ANSI prototypes (no dependance on the __P() macro). Add new fwrite_be_offt() function which writes out a big-endian 64bit number regards of the size of off_t on the host machine.
Also fix ``bug'' in previous - even though the off_t pointers were stored big-endian, the individual card lenghs were in host-order. The cards.pck files are now identical when make on a big- or little-endian machine.
Now builds a correct cards.pck file on non-NetBSD machines as well - tested on Ultrix and Solaris (but Solaris needs -lsocket to get htonl()).
|
| 1.11 | 10-Sep-1999 |
jsm | Check for write errors in auxiliary programs used during build of games.
|
| 1.10 | 09-Sep-1999 |
jsm | Check for failure of malloc() and calloc() at various places in the games.
|
| 1.9 | 08-Sep-1999 |
jsm | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in the games.
|
| 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 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.6 | 21-Aug-1999 |
simonb | Instead of writing out a structure that contains pointers as the header of the card decks file, just write out the number of cards for each deck. Also use "off_t" for offsets into the file (that are stored after the number of cards) instead of "long". /usr/share/games/cards.pck is now MI.
|
| 1.5 | 12-Oct-1997 |
christos | WARNSify
|
| 1.4 | 29-Mar-1997 |
thorpej | Make these compile on the PowerPC (an unsigned char system).
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.15.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.16.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.10 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.9 | 24-Feb-2008 |
dholland | branches: 1.9.6; Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.8 | 23-Feb-2008 |
dholland | Move ret_card() to cards.c, where it more rationally belongs. From OpenBSD.
|
| 1.7 | 19-Feb-2008 |
dholland | branches: 1.7.2; KNF/whitespace nits. No functional changes.
|
| 1.6 | 07-Aug-2003 |
agc | branches: 1.6.22; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.5 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.6.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.7.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.9.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.6 | 24-Feb-2008 |
dholland | Remove last traces of old save/load code. We no longer need a private copy of malloc.
|
| 1.5 | 28-Jan-2008 |
dholland | branches: 1.5.2; Make this build with WARNS=4.
|
| 1.4 | 14-Dec-2004 |
nathanw | branches: 1.4.16; Convert from libc/threadlib-style mutex protection to pthread style.
(XXX this game totally does not need a thread-safe malloc)
|
| 1.3 | 27-Jan-2004 |
jsm | Remove uses of __P.
|
| 1.2 | 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.1 | 21-Apr-2003 |
christos | use an sbrk() only malloc() because save and restore depends on saving the data segment only. Maybe we should make libbsdmalloc?
|
| 1.4.16.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.5.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.23 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.22 | 01-Dec-2011 |
ahoka | handle EOF in input
|
| 1.21 | 12-Aug-2009 |
dholland | branches: 1.21.6; sprinkle static
|
| 1.20 | 24-Feb-2008 |
christos | need errno.h
|
| 1.19 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.18 | 23-Feb-2008 |
dholland | Sanity fixes for input handling. Suggested by OpenBSD, but different code.
|
| 1.17 | 20-Feb-2008 |
dholland | branches: 1.17.2; Don't misuse random strings as printf formats, even where it's harmless. Found by diffing against OpenBSD.
|
| 1.16 | 19-Feb-2008 |
dholland | Fix bugs in debug printouts. From OpenBSD.
|
| 1.15 | 19-Feb-2008 |
dholland | Fix (another) typo in comment
|
| 1.14 | 19-Mar-2006 |
christos | branches: 1.14.10; Coverity CID 1005: Fix NULL deref and incorrect variable use.
|
| 1.13 | 05-Nov-2004 |
dsl | Add (unsigned char) cast to ctype functions
|
| 1.12 | 26-Jan-2004 |
jsm | Rename yn to yncoms to avoid conflict with GCC 3.4 built-in XSI function.
|
| 1.11 | 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.10 | 16-Jan-2001 |
cgd | avoid C sequence point issues warned about by development version of gcc.
|
| 1.9 | 30-Sep-1999 |
jsm | Fix uses of namespaces reserved by ISO C or POSIX.1.
|
| 1.8 | 08-Sep-1999 |
jsm | branches: 1.8.2; 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 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.6 | 12-Oct-1997 |
christos | WARNSify
|
| 1.5 | 29-Mar-1997 |
thorpej | Make these compile on the PowerPC (an unsigned char system).
|
| 1.4 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.3 | 07-Aug-1993 |
mycroft | New version from uunet.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.8.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.14.10.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.17.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.21.6.2 | 30-Oct-2012 |
yamt | sync with head
|
| 1.21.6.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.5 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.4 | 28-Jan-2008 |
dholland | branches: 1.4.2; Make this build with WARNS=4.
|
| 1.3 | 07-Aug-2003 |
agc | branches: 1.3.22; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.2 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.3.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.4.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.19 | 24-Feb-2008 |
dholland | Update for today's changes: 1-player games are not allowed, and cards.pck no longer appears.
|
| 1.18 | 19-Feb-2008 |
dholland | branches: 1.18.2; Fix formatting bug apparently introduced when the page was mdoc'd. (Had .Nm, should have been .Pp.)
Also bump date; for some reason this hadn't been done since the original import.
|
| 1.17 | 15-Sep-2005 |
wiz | branches: 1.17.10; Use standard AUTHORS section header. From YOMURA Masanori in private mail Sort sections if necessary. Use more/better markup.
|
| 1.16 | 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.15 | 27-Jun-2003 |
wiz | Quote question mark.
|
| 1.14 | 26-Apr-2003 |
wiz | Fix some nits, do not mark up i.e. too much. From jmc@openbsd.
|
| 1.13 | 26-Sep-2002 |
wiz | Lots of minor fixes resulting from reading these man pages in detail.
|
| 1.12 | 26-Sep-2002 |
wiz | New sentences begin on new lines. Patch from Richard Elz, slightly improved by yours truly.
|
| 1.11 | 08-Feb-2002 |
ross | Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
|
| 1.10 | 02-Apr-2001 |
wiz | Whitespace and/or punctuation fixes.
|
| 1.9 | 07-Nov-2000 |
lukem | remove unnecessary command name after .Nm
|
| 1.8 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.7 | 19-Mar-1994 |
cgd | fix transposition. from Luke Mewburn <lm@rmit.edu.au>
|
| 1.6 | 16-Sep-1993 |
jtc | Fix formatting error.
|
| 1.5 | 09-Aug-1993 |
jtc | Update our -mandoc manpage with changes from new uunet -man manpage.
|
| 1.4 | 07-Aug-1993 |
mycroft | New version from uunet.
|
| 1.3 | 05-Aug-1993 |
jtc | update to -mandoc macros
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.17.10.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.18.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.27 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.26 | 01-Dec-2011 |
ahoka | handle EOF in input
|
| 1.25 | 12-Aug-2009 |
dholland | branches: 1.25.6; sprinkle static
|
| 1.24 | 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings.
|
| 1.23 | 24-Feb-2008 |
dholland | branches: 1.23.4; Fix some more lint. (There's plenty to go around.)
If we try to load a game and it bombs, keep prompting for another one, because if we try to continue with a half-loaded game we'll probably end up in trouble.
|
| 1.22 | 24-Feb-2008 |
christos | fix some lint
|
| 1.21 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.20 | 24-Feb-2008 |
dholland | Remove last traces of old save/load code. We no longer need a private copy of malloc.
|
| 1.19 | 23-Feb-2008 |
dholland | More fixes from OpenBSD: - initialize in the proper order - don't allow 1-player games - make the check for players named "done" work properly - a couple other minor things
|
| 1.18 | 20-Feb-2008 |
dholland | branches: 1.18.2; Use random() rather than rand(). Suggested by diffing against OpenBSD.
|
| 1.17 | 19-Feb-2008 |
dholland | KNF/whitespace nits. No functional changes.
|
| 1.16 | 15-Dec-2007 |
perry | convert __attribute__s to applicable cdefs.h macros
|
| 1.15 | 27-Jan-2004 |
jsm | branches: 1.15.22; Remove uses of __P.
|
| 1.14 | 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.13 | 21-Apr-2003 |
christos | PR/8247: Simon Burge: monop(6) save/restore doesn't work. With the advent of elf and mmaping malloc, assumptions that the code made before about location and contents of the data segment broke. We supplied an sbrk() only malloc, and recorded the break point at the beginning of the program, so now save and restore works, in the traditional monop style.
|
| 1.12 | 18-Sep-2001 |
wiz | Give initiali[sz]e all the "i"s it deserves.
|
| 1.11 | 08-May-2000 |
mycroft | Use setgid(), not setregid().
|
| 1.10 | 09-Jan-2000 |
jsm | Use err(1, NULL) and warn(NULL) for `out of memory' error messages.
|
| 1.9 | 12-Sep-1999 |
jsm | Security improvements for games (largely from or inspired by OpenBSD).
Games which run setgid from dm, but don't need to, should drop their privileges at startup.
Games which have a scorefile should open it at startup, then drop all privileges leaving just the open writable file descriptor. If the game can invoke subprocesses, this should be made close-on-exec.
Games with scorefiles should make sure they do not get a file descriptor < 3. (Otherwise, they could get confused and corrupt the scorefile when using stdin, stdout or stderr.)
Some old setuid revokes from the days of setuid games change into gid revokes.
|
| 1.8 | 09-Sep-1999 |
jsm | Check for failure of malloc() and calloc() at various places in the games.
|
| 1.7 | 08-Sep-1999 |
jsm | Add `__noreturn__' and `__unused__' attributes 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).
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).
|
| 1.6 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.5 | 11-Sep-1998 |
hubertf | use symbolic constants for signals & open(2), as per PR#5867
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.15.22.2 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.15.22.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.18.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.23.4.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.25.6.2 | 30-Oct-2012 |
yamt | sync with head
|
| 1.25.6.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.12 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.11 | 20-Feb-2008 |
dholland | branches: 1.11.2; A few more whitespace/KNF. I keep hoping I've found them all...
|
| 1.10 | 19-Feb-2008 |
dholland | More typo fixes
|
| 1.9 | 27-Jan-2004 |
jsm | branches: 1.9.22; Remove uses of __P.
|
| 1.8 | 26-Jan-2004 |
jsm | Rename yn to yncoms to avoid conflict with GCC 3.4 built-in XSI function.
|
| 1.7 | 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.6 | 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.5 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 07-Aug-1993 |
mycroft | New version from uunet.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.9.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.11.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.9 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.8 | 20-Feb-2008 |
dholland | branches: 1.8.2; Add the sizes to the extern array declarations. This may not be necessary, but it's safe and reduces unnecessary divergence. From OpenBSD.
|
| 1.7 | 27-Jan-2004 |
jsm | branches: 1.7.22; Remove uses of __P.
|
| 1.6 | 26-Jan-2004 |
jsm | Rename yn to yncoms to avoid conflict with GCC 3.4 built-in XSI function.
|
| 1.5 | 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.4 | 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.3 | 12-Oct-1997 |
christos | WARNSify
|
| 1.2 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.7.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.8.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.19 | 12-Aug-2009 |
dholland | sprinkle static
|
| 1.18 | 24-Feb-2008 |
dholland | Fix a bit more lint.
|
| 1.17 | 24-Feb-2008 |
dholland | ret_card(), which I moved earlier, was consequently filed under the wrong source file name. fix.
|
| 1.16 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.15 | 23-Feb-2008 |
dholland | A first stab at supporting the housing shortage rules. From OpenBSD. (note: this is not fully correct - I will fix it when I finish merging)
|
| 1.14 | 20-Feb-2008 |
dholland | branches: 1.14.2; Remove unused swap() macro.
|
| 1.13 | 19-Feb-2008 |
dholland | More typo fixes
|
| 1.12 | 27-Jan-2004 |
jsm | branches: 1.12.22; Remove uses of __P.
|
| 1.11 | 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.10 | 30-Sep-1999 |
jsm | Fix uses of namespaces reserved by ISO C or POSIX.1.
|
| 1.9 | 09-Sep-1999 |
jsm | branches: 1.9.2; Check for failure of malloc() and calloc() at various places in the games.
|
| 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 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.6 | 12-Oct-1997 |
christos | WARNSify
|
| 1.5 | 29-Mar-1997 |
thorpej | Make these compile on the PowerPC (an unsigned char system).
|
| 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 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.9.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.12.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.14.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.19 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.18 | 24-Feb-2008 |
dholland | branches: 1.18.6; Fix a bit more lint.
|
| 1.17 | 24-Feb-2008 |
dholland | Typo patrol
|
| 1.16 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.15 | 23-Feb-2008 |
dholland | Bug fix: having $0 does not mean you need to mortgage something. Plus some tidyup. From OpenBSD.
|
| 1.14 | 20-Feb-2008 |
dholland | branches: 1.14.2; A few more whitespace/KNF. I keep hoping I've found them all...
|
| 1.13 | 19-Feb-2008 |
dholland | KNF/whitespace nits. No functional changes.
|
| 1.12 | 19-Feb-2008 |
dholland | Remove transient thingy that wasn't supposed to see the light of day, and finish dealing with some local variables that shadow a global. (hi dholland)
|
| 1.11 | 28-Jan-2008 |
dholland | Make this build with WARNS=4.
|
| 1.10 | 27-Jan-2004 |
jsm | branches: 1.10.22; Remove uses of __P.
|
| 1.9 | 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.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 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.6 | 30-Aug-1998 |
veego | Add braces to make the new egcs happy.
|
| 1.5 | 12-Oct-1997 |
christos | WARNSify
|
| 1.4 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.3 | 07-Aug-1993 |
mycroft | New version from uunet.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.10.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.14.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.18.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.5 | 24-Feb-2008 |
dholland | Abolish the initdeck program and the weird little binary file it generates. The card deck data is now compiled in. (And it always should have been, even back when memory usage counted. It's small.)
This changes the save format slightly. (I am riding the previous breakage an hour ago and not providing compat. There should be no further breakage.)
|
| 1.4 | 07-Aug-2003 |
agc | branches: 1.4.22; 1.4.28; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.4.28.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.4.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.13 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.12 | 24-Feb-2008 |
christos | branches: 1.12.6; fix some lint
|
| 1.11 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.10 | 20-Feb-2008 |
dholland | branches: 1.10.2; A few more whitespace/KNF. I keep hoping I've found them all...
|
| 1.9 | 19-Feb-2008 |
dholland | KNF/whitespace nits. No functional changes.
|
| 1.8 | 27-Jan-2004 |
jsm | branches: 1.8.22; Remove uses of __P.
|
| 1.7 | 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.6 | 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.5 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.8.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.10.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.12.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.20 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.19 | 24-Feb-2008 |
dholland | branches: 1.19.6; Don't cast the return value of calloc.
|
| 1.18 | 24-Feb-2008 |
christos | fix some lint
|
| 1.17 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.16 | 23-Feb-2008 |
dholland | Bug fixes from OpenBSD: - don't truncate unreasonably long player names when bidding; - don't allow players to bid more cash than they have.
|
| 1.15 | 20-Feb-2008 |
dholland | branches: 1.15.2; A few more whitespace/KNF. I keep hoping I've found them all...
|
| 1.14 | 19-Feb-2008 |
dholland | KNF/whitespace nits. No functional changes.
|
| 1.13 | 19-Feb-2008 |
dholland | Don't use sprintf; use snprintf.
|
| 1.12 | 28-Jan-2008 |
dholland | Make this build with WARNS=4.
|
| 1.11 | 19-Mar-2006 |
christos | branches: 1.11.10; fix typo
|
| 1.10 | 19-Mar-2006 |
christos | Coverity CID 1004: Fix NULL deref.
|
| 1.9 | 27-Jan-2004 |
jsm | Remove uses of __P.
|
| 1.8 | 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.7 | 16-Jan-2001 |
cgd | avoid C sequence point issues warned about by development version of gcc.
|
| 1.6 | 09-Sep-1999 |
jsm | Check for failure of malloc() and calloc() at various places in the games.
|
| 1.5 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.11.10.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.15.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.19.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.4 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.3 | 07-Aug-2003 |
agc | branches: 1.3.22; 1.3.28; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.2 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.3.28.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.3.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.9 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.8 | 24-Feb-2008 |
dholland | branches: 1.8.6; Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.7 | 23-Feb-2008 |
dholland | Fix from OpenBSD: don't say "1 houses".
|
| 1.6 | 07-Aug-2003 |
agc | branches: 1.6.22; 1.6.28; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.5 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.6.28.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.6.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.8.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.14 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.13 | 24-Feb-2008 |
dholland | branches: 1.13.6; Fix a bit more lint.
|
| 1.12 | 24-Feb-2008 |
dholland | We do not need special code for pdp11. Also, because random() returns all good bits (unlike rand()) we can simplify this.
|
| 1.11 | 24-Feb-2008 |
dholland | Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.10 | 20-Feb-2008 |
dholland | branches: 1.10.2; Use random() rather than rand(). Suggested by diffing against OpenBSD.
|
| 1.9 | 07-Aug-2003 |
agc | branches: 1.9.22; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.8 | 02-Jun-2002 |
wiz | de-register
|
| 1.7 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.6 | 12-Oct-1997 |
christos | WARNSify
|
| 1.5 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.4 | 07-Aug-1993 |
mycroft | New version from uunet.
|
| 1.3 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.2 | 19-Apr-1993 |
mycroft | Use POSIX RAND_MAX rather than guessing.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.9.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.10.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.13.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.11 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.10 | 24-Feb-2008 |
dholland | branches: 1.10.6; Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.9 | 19-Feb-2008 |
dholland | branches: 1.9.2; getinp() no longer magically treats the prompt arg as a printf format, so don't escape % as %%. From OpenBSD.
|
| 1.8 | 19-Feb-2008 |
dholland | Move function heading comments to something vaguely like the right place.
|
| 1.7 | 07-Aug-2003 |
agc | branches: 1.7.22; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.6 | 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.5 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.7.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.9.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.10.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.16 | 19-Jun-2012 |
dholland | WARNS=5
|
| 1.15 | 24-Feb-2008 |
dholland | branches: 1.15.6; Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
| 1.14 | 24-Feb-2008 |
dholland | Sort out the memory leak fix properly.
|
| 1.13 | 23-Feb-2008 |
dholland | Fixes from OpenBSD. - If a player goes bankrupt buying a property (which shouldn't be allowed, but I guess it is), don't cause them to resign to themselves. - Use "NULL", not "0", for pointers. - Avoid undefined behavior adjusting the current player after resigning. - Don't leak the memory used to store player names.
The last of these is disabled for the moment because we have the pointers in question tagged const. Will see to this when I'm finished merging.
|
| 1.12 | 19-Feb-2008 |
dholland | branches: 1.12.2; One more (hopefully the last) whitespace fix.
|
| 1.11 | 19-Feb-2008 |
dholland | KNF/whitespace nits. No functional changes.
|
| 1.10 | 28-Jan-2008 |
dholland | Make this build with WARNS=4.
|
| 1.9 | 27-Jan-2004 |
jsm | branches: 1.9.22; Remove uses of __P.
|
| 1.8 | 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.7 | 30-Sep-1999 |
jsm | Fix uses of namespaces reserved by ISO C or POSIX.1.
|
| 1.6 | 08-Sep-1999 |
jsm | branches: 1.6.2; 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.5 | 21-Aug-1999 |
simonb | Convert to something resembling KNF.
|
| 1.4 | 12-Oct-1997 |
christos | WARNSify
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.6.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.9.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.12.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.15.6.1 | 30-Oct-2012 |
yamt | sync with head
|