Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-29 | adjust width list: Ds is unfortunate here; | Jason McIntyre | |
2015-11-29 | Add pledge support and move score file to $HOME. | tb | |
For high score entries use the same logic as in snake(6) and tetris(6): Try LOGNAME then USER then getlogin(2) and fall back to ???. For variety, atc(6) uses flock(2), so add a "flock" promise to the usual "stdio rpath rpath cpath tty" for games. | |||
2015-11-25 | Remove operations that "touch" scorefiles at install time. | Theo de Raadt | |
2015-11-24 | In 1995, all of the games were setuid games. At end of 1996, I took them all | Theo de Raadt | |
to setgid games, and we started wittling them down. Nearly 10 years later I am removing all setgid from the games. If any of these have score files they are now broken, and I hope various folk repair them. I have argued for years (and received pushback...) that the score file features must be removed, or rewritten to use private files, because setgid is the wrong tool. ok tedu | |||
2015-11-20 | Convert hand-rolled option parsing to getopt(3). | tb | |
ok deraadt@ | |||
2015-11-04 | replace setbuf with setvbuf, from Frederic Nowak | Ted Unangst | |
2015-08-22 | remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok ↵ | Theo de Raadt | |
millert krw | |||
2015-02-18 | convert calloc/realloc pairs to reallocarray | Ted Unangst | |
2014-12-09 | Do not memorialize cheaters in the high score file. | Theo de Raadt | |
from pjanzen | |||
2014-12-08 | For now, these games still contain deterministic randomization (for | Theo de Raadt | |
save / replay modes of operation that have not yet been cleaned up). OK, I've let the cat out of the bag, now some of you know you can cheat at them.. ok millert guenther tedu | |||
2014-11-30 | Even though not callable, "Ed" is a macro name, so for clarity, | Ingo Schwarze | |
escape it when it appears on a macro line. | |||
2014-11-16 | Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>, | Philip Guenther | |
and <sys/ttydefaults.h> Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX Pull in <limits.h> where needed Prefer sizeof(var) over MAXFOO or FOO_MAX ok deraadt@ | |||
2014-09-08 | obvious cases of missing .An; | Ingo Schwarze | |
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes | |||
2014-07-13 | if not seeded explicitly, use arc4random instead. ok deraadt | Ted Unangst | |
2014-07-13 | long live BSD, SYSV is dead! | Ted Unangst | |
2013-10-25 | start_time should be time_t, not int since it holds the reasult of | Todd C. Miller | |
time(0). OK guenther@ | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo 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 | |||
2009-06-01 | Don't assume there will be a newline after calling fgets. | Ray Lai | |
OK millert | |||
2007-11-06 | fix format string | Charles Longeau | |
ok ray@ gilles@ | |||
2007-09-14 | remove some warnings: | Charles Longeau | |
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@ | |||
2007-09-11 | use strcspn to properly overwrite '\n' in fgets returned buffer | Gilles Chehade | |
ok pyr@, ray@, millert@, moritz@, chl@ | |||
2007-09-04 | Some more simple malloc(n * m) -> calloc(n, m) conversions. | Hans-Joerg Hoexer | |
ok deraadt@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-04-13 | when updating atc(6) to split the -f and -g flags in two options | Igor Sobrado | |
I missed synchronizing the usage() function. problem noticed by jmc@ | |||
2007-04-13 | let -f and -g be in different options even if the argument | Igor Sobrado | |
names to both flags are the same. spotted by jmc@ with relation to other manual page. ok by jmc@ | |||
2007-04-02 | tidy up synopsis and usage(); from Igor Sobrado | Jason McIntyre | |
2006-11-07 | make delayed turn commands not become immediate when there is a | Theo de Raadt | |
request to go to the same altitude as already at. pr 3448 | |||
2006-11-02 | Check for valid character before truncating string. | Ray Lai | |
Initial patch from Charles Longeau <chl at tuxfamily dot org>. OK moritz@. | |||
2006-06-30 | use .y and .l in SRCS, remove hand-crafted CLEANFILES since this is | Otto Moerbeek | |
now done by bsd.*.mk | |||
2006-03-31 | fix number conversion logic; spotted by pat@; ok tedu@ pat@ | Otto Moerbeek | |
2006-03-27 | assorted fixes mostly from coverity via netbsd via jasper adriaanse via tech | Ted Unangst | |
2005-05-01 | use setresgid() to drop privs, it is simply a better and less ambiguous API; | Damien Miller | |
ok deraadt@ and millert@ a while ago, more to come | |||
2004-11-29 | ansi. ok deraadt@ | Jonathan Gray | |
2004-01-02 | Document that pressing return allows you to "fast forward" the game clock. | Jason McIntyre | |
From Peter Maydell (Debian bug 216980) via NetBSD; | |||
2003-11-08 | typos from Jonathon Gray; | Jason McIntyre | |
2003-09-26 | correct scanf sizes; anil aaron ok | Theo de Raadt | |
2003-09-26 | off by one in fscanf; from aaron@ | Anil Madhavapeddy | |
2003-09-02 | escape punctuation; | Jason McIntyre | |
ok deraadt@ | |||
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-30 | put space between macro arguments and punctuation; | Jason McIntyre | |
2003-04-23 | some typos, and clarification of game rules; | Jason McIntyre | |
help, suggestions and ok pjanzen@ | |||
2003-04-10 | more POSIX chown; Leandro Costa | Todd C. Miller | |
2003-04-08 | string cleaning; ok pjanzen | Theo de Raadt | |
2003-04-06 | 2451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzen | Theo de Raadt | |
already, but he may have later changes to make still. | |||
2003-03-11 | double words and spelling fixes | David Krause | |
ok pjanzen@ | |||
2002-12-06 | Replace 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-06-23 | uid_t and gid_t are unsigned | Theo de Raadt | |
2002-05-31 | No dm -> games with high score files etc. must explicitly be setgid games. | Paul Janzen | |
2002-05-23 | The troll strikes.. The troll strikes.. The dungeon master ↵ | Theo de Raadt | |
dies.distrib/sets/lists | |||
2002-02-16 | Part 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. |