summaryrefslogtreecommitdiff
path: root/games/atc/main.c
AgeCommit message (Expand)Author
2016-09-11Callers of time(3) should #include <time.h>.Theo Buehler
2016-03-07remove -u? from usage();Jason McIntyre
2016-03-07- General changes:mestre
2016-01-07Some basic code maintenance in games/tb
2015-12-31Include only needed header files per each source filemestre
2015-11-29Add pledge support and move score file to $HOME.tb
2015-11-20Convert hand-rolled option parsing to getopt(3).tb
2014-07-13if not seeded explicitly, use arc4random instead. ok deraadtTed Unangst
2014-07-13long live BSD, SYSV is dead!Ted Unangst
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-01Don't assume there will be a newline after calling fgets.Ray Lai
2007-09-14remove some warnings:Charles Longeau
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-04-13when updating atc(6) to split the -f and -g flags in two optionsIgor Sobrado
2007-04-02tidy up synopsis and usage(); from Igor SobradoJason McIntyre
2006-11-02Check for valid character before truncating string.Ray Lai
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
2004-11-29ansi. ok deraadt@Jonathan Gray
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenTheo de Raadt
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
1999-09-01Make sure screen is big enough for the selected game; also a little tidyingPaul Janzen
1998-09-21Cleanup, partially from NetBSD and jsm28@cam.ac.uk. No longer segfaults ifPaul Janzen
1998-09-02use ICRNL; jsm28@cam.ac.ukPaul Janzen
1998-06-03zero struct sigaction before useTheo de Raadt
1997-06-18fix highscore filekstailey
1996-12-22proper gid revokeTheo de Raadt
1996-12-19setgid games, not setuid games. closes a neat set of holesTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt