summaryrefslogtreecommitdiff
path: root/games/snake
AgeCommit message (Expand)Author
2016-09-11Callers of time(3) should #include <time.h>.Theo Buehler
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre
2016-03-07- General changes:mestre
2016-02-09- Remove parameter fd from snscore() since it's never usedmestre
2016-02-02- Swap atoi(3) for strtonum(3)mestre
2016-01-07Some basic code maintenance in games/tb
2016-01-04More cleanup and sorting on header sectionmestre
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre
2015-12-02KNF: I forgot to join two lines.tb
2015-12-02treat getenv("HOME") safely also when LOGGING is defined. from mestre.tb
2015-11-29tidy up ENVIRONMENT and FILES;Jason McIntyre
2015-11-29Prefer $LOGNAME over $USER, since the latter is deprecated,tb
2015-11-27Fix after removal of the setgid bit: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
2014-11-18Nuke some obvious #include duplications.Kenneth R Westerback
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
2009-11-13no need for seperate snscore command; ok pjanzenTheo de Raadt
2009-11-13Correct fix for rev 1.8 from pjanzen.Jonathan Gray
2009-11-131.8 broke things, back it out, correct fix coming from pjanzenJonathan Gray
2009-11-12fix an off by one in loop terminationJonathan Gray
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-02tidy up synopsis and usage(); from Igor SobradoJason McIntyre
2006-03-27assorted fixes mostly from coverity via netbsd via jasper adriaanse via techTed Unangst
2006-03-15Remove useless getuid() check.David Hill
2005-05-01use setresgid() to drop privs, it is simply a better and less ambiguous API;Damien Miller
2005-03-12escape `.' at eol to avoid double spacing issue;Jason McIntyre
2004-07-10more ansi; khalek@linuxgamers.netTheo de Raadt
2004-04-04.br workaround no longer necessary;Jason McIntyre
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
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-24fix name, ok deraadtPeter Stromberg
2002-05-23The troll strikes.. The troll strikes.. The dungeon master dies.distrib/sets/...Theo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-18move racey shit out of signal handlerTheo de Raadt
2001-08-18FormattingPaul Janzen
2001-02-18Convert to curses and tidy some. Generally based on NetBSD changes.Paul Janzen
2001-02-04Use strdup()Paul Janzen
2000-04-25Missing MLINKSMarc Espie
2000-04-21documentation: refer to terminfo, not termcap, where appropriate.Paul Janzen
1999-10-29correct snake description: cgd@netbsd.orgPaul Janzen
1999-07-09- remove all trailing whitespaceAaron Campbell
1999-04-20jsm28@cam.ac.uk: place cursor on player, not one over.Paul Janzen
1999-03-13Fix a few bugs (e.g. snake used to miss turns); use usleep() so displayPaul Janzen
1998-11-29Don't capitalize game names at the beginning of sentences.Paul Janzen
1998-07-24-lcurses, not termcap/termlibTodd C. Miller