summaryrefslogtreecommitdiff
path: root/games/battlestar
AgeCommit message (Expand)Author
2022-08-08switch fgetln remnants to getline. ok millert@Omar Polo
2022-02-05Fix UB "shift-out-of-bounds" in battlestarGreg Steuck
2021-10-23if both stdout and stderr are redirected to a non-tty, pledge(2) will killRicardo Mestre
2020-12-15the names com1 to com9 are reserved filenames on windowsDaniel Dickman
2019-05-09rm lists of hereditary wizards and bad users to ensure level playing fieldTed Unangst
2018-02-07slightly reduce the difficulty of the adventure game that is readingTed Unangst
2017-05-31late game space battles require tty pledge to clear screen, etc.Ted Unangst
2016-09-11Callers of time(3) should #include <time.h>.Theo Buehler
2016-08-27Pull in <stdio.h> for NULLPhilip Guenther
2016-01-01don't declar main. from Michal MazurekTed Unangst
2015-12-31Include only needed header files per each source filemestre
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre
2015-12-04cleanup: remove pwd.h, delete a stray comment and a const qualifiertb
2015-11-29tidy here too;Jason McIntyre
2015-11-29Move score file to $HOME and add pledge "stdio rpath wpath cpath".tb
2015-11-25Remove operations that "touch" scorefiles at install time.Theo de Raadt
2015-11-24In 1995, all of the games were setuid games. At end of 1996, I took them allTheo de Raadt
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok miller...Theo de Raadt
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
2015-02-17Mark up email addresses semantically with Mt.Anthony J. Bentley
2014-11-16Remove a bogotified commentPhilip Guenther
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
2014-10-26Add a format specifier for the printf.Brad Smith
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
2013-07-17add missing .An and .Mt macro; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-04-05this doesn't need to be time_t ok deraadtTed Unangst
2010-09-19put HISTORY in the right place;Jason McIntyre
2009-12-10fix potential bugs spotted by parfaitBob Beck
2009-11-22Typo fixed.Tobias Stoeckmann
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-11-24some spelling fixes from Martynas VenckusJason McIntyre
2007-09-09Move redundant prompt/fgets/sscanf lines into a function withRay Lai
2007-05-31convert to new .Dd format;Jason McIntyre
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
2005-05-01use setresgid() to drop privs, it is simply a better and less ambiguous API;Damien Miller
2004-07-10more ansi; khalek@linuxgamers.netTheo de Raadt
2004-02-03ourtime should match prototype in extern.h 'change globals.h' deraad@Dale Rahn
2003-09-26check strdup for error. based on report from Jared Yanovich. ok deraadt@Ted Unangst
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-19NetBSD check to make sure not to deref -1.Paul Janzen
2003-04-23some typos, and clarification of game rules;Jason McIntyre
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
2002-05-31crmode -> cbreakPaul Janzen
2002-05-31No dm -> games with high score files etc. must explicitly be setgid games.Paul Janzen
2002-05-23The troll strikes.. The troll strikes.. The dungeon master dies.distrib/sets/...Theo de Raadt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-17section consistency: AUTHOR -> AUTHORS, even if only one listed;Paul Janzen
2001-08-18FormattingPaul Janzen