summaryrefslogtreecommitdiffstats
path: root/games/snake
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-2/+2
2019-01-20printing the pinball bonus in the corner is confusing when you lose.tedu1-2/+1
2019-01-20remove some obsolete comments about deleted codetedu1-43/+1
2019-01-20quick fix to keep the cursor in the corner during space warp.tedu1-1/+2
2019-01-20if the snake ran over the money, print the treasure instead of empty.tedu1-3/+7
2018-08-24Remove a few too early pledge(2)s on games/ and apply them a little bit latermestre1-4/+5
2016-09-11Callers of time(3) should #include <time.h>.tb1-1/+2
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre1-2/+3
2016-03-07- General changes:mestre1-2/+1
2016-02-09- Remove parameter fd from snscore() since it's never usedmestre1-7/+7
2016-02-02- Swap atoi(3) for strtonum(3)mestre1-5/+5
2016-01-07Some basic code maintenance in games/tb1-5/+4
2016-01-04More cleanup and sorting on header sectionmestre1-5/+1
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre1-2/+1
2015-12-02KNF: I forgot to join two lines.tb1-3/+2
2015-12-02treat getenv("HOME") safely also when LOGGING is defined. from mestre.tb1-4/+10
2015-11-29tidy up ENVIRONMENT and FILES;jmc1-5/+5
2015-11-29Prefer $LOGNAME over $USER, since the latter is deprecated,tb2-9/+13
2015-11-27Fix after removal of the setgid bit:tb5-205/+149
2015-11-25Remove operations that "touch" scorefiles at install time.deraadt1-5/+1
2015-11-24In 1995, all of the games were setuid games. At end of 1996, I took them allderaadt1-2/+1
2014-11-18Nuke some obvious #include duplications.krw1-2/+1
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,guenther1-3/+2
2013-08-29replace srandomdev()+random() with the arc4random*() familynaddy1-6/+5
2009-11-13no need for seperate snscore command; ok pjanzenderaadt3-22/+5
2009-11-13Correct fix for rev 1.8 from pjanzen.jsg1-2/+3
2009-11-131.8 broke things, back it out, correct fix coming from pjanzenjsg1-2/+2
2009-11-12fix an off by one in loop terminationjsg1-2/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2-30/+2
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-04-02tidy up synopsis and usage(); from Igor Sobradojmc2-7/+6
2006-03-27assorted fixes mostly from coverity via netbsd via jasper adriaanse via techtedu1-3/+3
2006-03-15Remove useless getuid() check.dhill1-12/+4
2005-05-01use setresgid() to drop privs, it is simply a better and less ambiguous API;djm1-4/+5
2005-03-12escape `.' at eol to avoid double spacing issue;jmc1-2/+2
2004-07-10more ansi; khalek@linuxgamers.netderaadt2-39/+24
2004-04-04.br workaround no longer necessary;jmc1-2/+1
2003-06-03Remove the advertising clause in the UCB license which Berkeleymillert4-26/+10
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)millert1-11/+3
2002-06-23uid_t and gid_t are unsignedderaadt1-3/+3
2002-05-31No dm -> games with high score files etc. must explicitly be setgid games.pjanzen1-1/+2
2002-05-24fix name, ok deraadtwilfried1-2/+2
2002-05-23The troll strikes.. The troll strikes.. The dungeon master dies.distrib/sets/listsderaadt1-3/+1
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-21/+21
2001-11-18move racey shit out of signal handlerderaadt1-7/+15
2001-08-18Formattingpjanzen1-4/+7
2001-02-18Convert to curses and tidy some. Generally based on NetBSD changes.pjanzen6-1065/+242
2001-02-04Use strdup()pjanzen1-5/+5
2000-04-25Missing MLINKSespie1-1/+2
2000-04-21documentation: refer to terminfo, not termcap, where appropriate.pjanzen1-5/+5