summaryrefslogtreecommitdiff
path: root/games/atc
AgeCommit message (Collapse)Author
2007-11-06fix format stringCharles Longeau
ok ray@ gilles@
2007-09-14remove some warnings:Charles Longeau
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-04Some more simple malloc(n * m) -> calloc(n, m) conversions.Hans-Joerg Hoexer
ok deraadt@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-13when updating atc(6) to split the -f and -g flags in two optionsIgor Sobrado
I missed synchronizing the usage() function. problem noticed by jmc@
2007-04-13let -f and -g be in different options even if the argumentIgor Sobrado
names to both flags are the same. spotted by jmc@ with relation to other manual page. ok by jmc@
2007-04-02tidy up synopsis and usage(); from Igor SobradoJason McIntyre
2006-11-07make delayed turn commands not become immediate when there is aTheo de Raadt
request to go to the same altitude as already at. pr 3448
2006-11-02Check for valid character before truncating string.Ray Lai
Initial patch from Charles Longeau <chl at tuxfamily dot org>. OK moritz@.
2006-06-30use .y and .l in SRCS, remove hand-crafted CLEANFILES since this isOtto Moerbeek
now done by bsd.*.mk
2006-03-31fix number conversion logic; spotted by pat@; ok tedu@ pat@Otto Moerbeek
2006-03-27assorted fixes mostly from coverity via netbsd via jasper adriaanse via techTed Unangst
2005-05-01use 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-29ansi. ok deraadt@Jonathan Gray
2004-01-02Document that pressing return allows you to "fast forward" the game clock.Jason McIntyre
From Peter Maydell (Debian bug 216980) via NetBSD;
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-09-26correct scanf sizes; anil aaron okTheo de Raadt
2003-09-26off by one in fscanf; from aaron@Anil Madhavapeddy
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-05-30put space between macro arguments and punctuation;Jason McIntyre
2003-04-23some typos, and clarification of game rules;Jason McIntyre
help, suggestions and ok pjanzen@
2003-04-10more POSIX chown; Leandro CostaTodd C. Miller
2003-04-08string cleaning; ok pjanzenTheo de Raadt
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.
2003-03-11double words and spelling fixesDavid Krause
ok pjanzen@
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-06-23uid_t and gid_t are unsignedTheo de Raadt
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 ↵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-17fixes based on ones suggested by mpech@prosoft.org.lvPaul Janzen
2001-11-17section consistency: AUTHOR -> AUTHORS, even if only one listed;Paul Janzen
mpech@prosoft.org.lv
2001-08-18FormattingPaul Janzen
2001-08-06Nothing but comments after #endif and #else; heko@iki.fiPaul Janzen
2001-02-04Be a little more careful with scanf() on the score filePaul Janzen
2001-02-04Tidying: change a constant to a #define, stop logging hostnames with thePaul Janzen
score, use strlcpy(), and make it work with long usernames.
2000-07-23Handle EOF on stdin.Paul Janzen
1999-09-01Make sure screen is big enough for the selected game; also a little tidyingPaul Janzen
1999-07-31- make atc check for calloc() failure; correctly check for redefinition ofPaul Janzen
"width" in game definition files (jsm28@cam.ac.uk) - clean up man page some (based on work of dholland@eecs.harvard.edu)
1999-03-22use M_PIPaul Janzen
1998-12-15Always provide an argument to .Nm in SYNOPSIS sectionPaul Janzen
1998-09-21Cleanup, partially from NetBSD and jsm28@cam.ac.uk. No longer segfaults ifPaul Janzen
scorefile can't be opened. New -q quiet option. Partial man page reformat.
1998-09-02use ICRNL; jsm28@cam.ac.ukPaul Janzen
1998-07-26From FreeBSD: Fix discrepancy between sources and manual page for thePaul Janzen
'c' command.
1998-07-24-lcurses, not termcap/termlibTodd C. Miller
1998-06-03zero struct sigaction before useTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-07-23tabifykstailey