summaryrefslogtreecommitdiff
path: root/games/backgammon
AgeCommit message (Expand)Author
2023-05-05Convert K&R function definition to ansi to make clang 15 happierTheo Buehler
2021-10-23missed in previous commitRicardo Mestre
2021-10-23if both stdout and stderr are redirected to a non-tty, pledge(2) will killRicardo Mestre
2021-02-06while learning (teachgammon(1)) you might want to save your game so "{w,c}path"Ricardo Mestre
2017-07-11User count checks have been compiled out since 1998, get rid of them.Frederic Cambus
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
2017-01-20mark the prototypes of tutor() and leave() as __dead as well.Theo Buehler
2017-01-20Mark functions that do not return as __dead to quiet gcc warnings.Kenneth R Westerback
2016-01-08add missing 'void'tb
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre
2015-12-02Drop the argument passing between backgammon and teachgammon.tb
2015-12-01Make sure "exec" rights are dropped asap in all code paths.tb
2015-12-01Answering "yes" to the question "Do you want to see the rules of the game?"tb
2015-11-30Pledge for backgammon and teachgammon.tb
2015-11-11creat() -> open equiv; from Frederic NowakTheo de Raadt
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok miller...Theo de Raadt
2015-07-20Sometimes, the computer's move was printed, but the computer's men didn'tIngo Schwarze
2015-06-26/home/otto/okOtto Moerbeek
2015-05-20Fix sign compare bug introduced when rnum() was redefined to useTodd C. Miller
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
2014-04-25This manual was lacking it's most important section, HISTORY.Ingo Schwarze
2014-04-25Security is square, gaming is hip,Ingo Schwarze
2013-11-27remove erroneous char cast to switch expression processing getopt(3);Okan Demirmen
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2009-10-28a few leftovers from yesterday's SCCS/RCS-ID removal;Ingo Schwarze
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-03-17synchronization between usage and synopsis; add some missing "usage:"'sIgor Sobrado
2007-10-17remove "unused variable" warningsCharles Longeau
2007-05-31convert to new .Dd format;Jason McIntyre
2006-12-14fix DEBUG by renaming a variable colliding with ncursesMartin Reindl
2006-11-01tidy up the quick reference section;Jason McIntyre
2006-11-01Sort flags and commands.Ray Lai
2006-10-31Remove -h flag and simplify usage output to one line, like mostRay Lai
2006-10-31Add new -d flag to SYNOPSIS and remove optional and unfunctionalRay Lai
2006-10-29-d: make it possible playing without doubling as it is not commonlyMartin Reindl
2006-03-27assorted fixes mostly from coverity via netbsd via jasper adriaanse via techTed Unangst
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
2004-04-05Don't init curses until after option processing. pjanzen@ okAaron Campbell
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-06-01Undo a misguided attempt to fix speling errors from long ago. UCBTodd C. Miller
2003-05-30section reorder;Jason McIntyre
2003-05-12From NetBSD: don't need to declare ospeed.Paul Janzen
2003-04-23some typos, and clarification of game rules;Jason McIntyre
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
2002-07-30Replace the "blows chunks" algorithm with pubeval, a public domain algorithmPaul Janzen
2002-07-30Kill buffer overflow.Paul Janzen