summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Expand)Author
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
2007-09-09Move redundant prompt/fgets/sscanf lines into a function withRay Lai
2007-09-06use strcspn to properly overwrite '\n' in fgets returned bufferCharles Longeau
2007-09-04Some more simple malloc(n * m) -> calloc(n, m) conversions.Hans-Joerg Hoexer
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-23Check fgets for failure and do a proper newline strip.Ray Lai
2007-07-10update some capital cities (and spelling); from Daniel DickmanJason McIntyre
2007-06-26Set shortest string count to 0 in strfile(8), if there a no strings foundMoritz Jodeit
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-27- add Beijing as a choice for the capital of ChinaAntoine Jacoutot
2007-05-07brigader -> brigadier;Jason McIntyre
2007-04-13when updating atc(6) to split the -f and -g flags in two optionsIgor Sobrado
2007-04-13let -f and -g be in different options even if the argumentIgor Sobrado
2007-04-02provide some missing arguments and tidy up usage(); from Igor SobradoJason McIntyre
2007-04-02tidy up synopsis and usage(); from Igor SobradoJason McIntyre
2007-04-02tidy up synopsis and sort options; from Igor SobradoJason McIntyre
2007-04-02-i takes an argument; from Igor SobradoJason McIntyre
2007-04-02tidy up synopis and usage(); sort options; from Igor SobradoJason McIntyre
2007-04-02sort options; from Igor SobradoJason McIntyre
2007-04-02-d takes an argument; from Igor SobradoJason McIntyre
2007-04-02tidy up synopsis; from Igor SobradoJason McIntyre
2007-04-02sort options + kill usage() verbosity; from Igor SobradoJason McIntyre
2007-04-02tidy up synopsis and usage(); from Igor SobradoJason McIntyre
2007-04-02-o and -r take arguments; from Igor SobradoJason McIntyre
2007-04-02.Ar for arguments; from Igor SobradoJason McIntyre
2007-03-22typo; from Seth HieronymusJason McIntyre
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2007-03-02strlen fixes from Charles Longeau.Ray Lai
2007-02-21- Pass full buffer size to fgets.Ray Lai
2006-12-24fix typos in comments (verses->versus)Martin Reindl
2006-12-24fix program name in usage, use __prognameMartin Reindl
2006-12-14fix some obvious mistakes to make DEBUG compileMartin Reindl
2006-12-14fix DEBUG by renaming a variable colliding with ncursesMartin Reindl
2006-11-22Fix an int overflow, reported on bugtraq by Gruzicki Wlodek; ok millert@Otto Moerbeek
2006-11-07make delayed turn commands not become immediate when there is aTheo de Raadt
2006-11-06signed char fixes need to avoid infinite loops; pr5284 fromTheo de Raadt
2006-11-02Don't check buf[strlen(buf) - 1] on empty strings.Ray Lai
2006-11-02Check fgets failure and clarify character checks.Ray Lai
2006-11-02Don't access buf[strlen(buf) - 1] on empty strings.Ray Lai
2006-11-02Check for valid character before truncating string.Ray Lai
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-31usage information goes to stderrMartin Reindl
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-10-24Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1].Moritz Jodeit
2006-10-11use SEEK_SET; chl@tuxfamily.orgTheo de Raadt
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder