summaryrefslogtreecommitdiff
path: root/games/monop
AgeCommit message (Collapse)Author
2010-05-10Rename use of some builtins that makes gcc4 warn.Nicholas Marriott
ok millert
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2008-11-10fix some situations where it was impossible to buy a hotel,Stuart Henderson
and make the game closer to the rules (may only buy a hotel after 4 houses are owned on all properties in the group). from Olivier ANTOINE in PR 5976.
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-02strlen fixes from Charles Longeau.Ray Lai
OK moritz@.
2006-03-27assorted fixes mostly from coverity via netbsd via jasper adriaanse via techTed Unangst
2006-03-26do not permit out of range house counts; af.dingo@gmailTheo de Raadt
2003-12-16bad printf; leopold-bloom@foni.netTheo de Raadt
2003-11-21printf(prompt) -> printf("%s", prompt)Otto Moerbeek
From Alf Schlichting <leopold-bloom at foni dot net>
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-23some typos, and clarification of game rules;Jason McIntyre
help, suggestions and ok pjanzen@
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenTheo de Raadt
already, but he may have later changes to make still.
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
good enough for games but we should at least use a decent seed. pjanzen@ OK
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-07-28Tidy the code, follow the rules more closely (and document where we diverge),Paul Janzen
and make save files work. The last stops a number of segfaults.
2002-05-31No dm -> no need to revoke setegid.Paul Janzen
2002-05-23The troll strikes.. The troll strikes.. The dungeon master ↵Theo de Raadt
dies.distrib/sets/lists
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-17section consistency: AUTHOR -> AUTHORS, even if only one listed;Paul Janzen
mpech@prosoft.org.lv
2001-08-18FormattingPaul Janzen
2001-06-06reorder sections, minor tidying; mpech@prosoft.org.lvPaul Janzen
2001-01-17avoid C sequence point issues; found by cgd@netbsd.org using a developmentPaul Janzen
version of gcc.
2001-01-04spellingTodd T. Fries
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-07-24printf() and %s pedantry, from itojun channelling kris@freebsdPaul Janzen
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1998-12-15Always provide an argument to .Nm in SYNOPSIS sectionPaul Janzen
1998-11-29Minor changes from NetBSDPaul Janzen
1998-11-29Don't capitalize game names at the beginning of sentences.Paul Janzen
1998-09-20rand -> random; handle EOF; don't overflow on user input; check for calloc()Paul Janzen
success; OpenBSD tags; some reformatting and ridding of unused variables.
1997-09-21$OpenBSD$Theo de Raadt
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPTodd C. Miller
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.
1997-04-01Changes from NetBSD to compile games without warnings due to short beingDale S. Rahn
unsigned on some archs, PowerPC, ROMP.
1997-01-02getc returns int not char.Dale S. Rahn
This matters on some ports, such as powerpc. (signed vs unsigned issue).
1996-12-22proper gid revokeTheo de Raadt
1996-12-19setgid games, not setuid games. closes a neat set of holesTheo de Raadt
1996-12-08install -> ${INSTALL}, -c -> ${COPY}Jason Downs
1996-10-06Store the card deck using fixed sizes and network byte orderThorsten Lockert
1996-03-09Rudimentary support for compilation in a cross environmentNiklas Hallqvist
Host tools will be compiled with HOSTCC instead of CC. Note, these are not complete in *any* way\!
1995-10-18initial import of NetBSD treeTheo de Raadt