summaryrefslogtreecommitdiff
path: root/games/monop
AgeCommit message (Collapse)Author
2024-02-08Feed more generated files to the clean target; joint work with naddy@Miod Vallat
2022-08-08switch fgetln remnants to getline. ok millert@Omar Polo
2022-02-18Avoid gendered language in man pages when not referring to a specificJonathan Gray
person. Rewrite or use singular they. ok thfr@ sthen@ daniel@ ian@ job@ kmos@ jcs@ ratchov@ phessler@ and others I'm likely missing on an earlier version. feedback tj@, feedback and ok jmc@
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
2017-06-09Correct number of players, the program enforces a range from 2 to 9.Frederic Cambus
OK tb@, jmc@
2016-09-11Callers of time(3) should #include <time.h>.Theo Buehler
ok deraadt
2016-01-08ANSIfy monop(6)mestre
OK tb@
2016-01-08Headers cleanup and removal where suitablemestre
OK tb@
2016-01-07Some basic code maintenance in games/tb
- in main() replace exit with return - drop some /* NOTREACHED */ lint comments along the way. - make more use of standard CFLAGS, esp. -Wimplicit-function-declaration - add and sort some headers when needed - add straightforward pledges to some programs used at compile time discussed with and ok mestre@
2015-11-21pledge "stdio rpath wpath cpath"Theo de Raadt
from Ricardo Mestre
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok ↵Theo de Raadt
millert krw
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading;
2014-12-28spelling fix; from daria suchecka via krzystof warzechaJason McIntyre
2014-12-08okan noticed this was actually calling the cfree turd.Ted Unangst
2014-09-08obvious cases of missing .An;Ingo Schwarze
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
tweaks and ok millert@, ok deraadt@
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