summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2008-03-26Bomb out if we cannot read the input. This happens when selectTodd C. Miller
says there has been a status change to indicate that the tty has gone away. Prevents spinning on terminal detach. OK pvalchev@
2008-03-24remove dependency on recalloc()Todd C. Miller
2008-03-20Add single line descriptions for the -B and -c flags.Todd C. Miller
2008-03-20Update usage in help file.Todd C. Miller
2008-03-20Remove a bug that I fixed.Todd C. Miller
2008-03-20Make the bog code generic enough to handle arbitrary NxN grids andTodd C. Miller
add cubes for 5x5 mode based on Boggle Deluxe (aka Big Boggle) as well as support for the "challenge cube" shipped with some versions of Boggle. Also Dynamically allocate record keeping structures so we can deal with large word lists and add a --More-- prompt for when there are too many wwords found by the computer to fit on the terminal. OK deraadt@
2008-03-17synchronization between usage and synopsis; add some missing "usage:"'sIgor Sobrado
ok jmc@
2008-02-16typo; from he@netbsd, -r1.44Jason McIntyre
2008-01-26remove a bad space; from he@netbsdJason McIntyre
2008-01-04from dholland@netbsd:Jason McIntyre
"stupid" is an adjective (in this context), not a noun;
2007-11-24some spelling fixes from Martynas VenckusJason McIntyre
2007-11-06fix format stringCharles Longeau
ok ray@ gilles@
2007-10-22- remove a duplicate entry. since the fortune can hardly be termedJason McIntyre
"offensive", it makes sense to remove it from fortunes-o.real. - fix a typo in limerick from dougb@freebsd
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-09-14remove some warnings:Charles Longeau
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
OK joris@, otto@
2007-09-09Move redundant prompt/fgets/sscanf lines into a function withRay Lai
appropriate checks, changing sscanf to strtonum in the process. Initial diff from Charles Longeau. OK moritz and chl.
2007-09-06use strcspn to properly overwrite '\n' in fgets returned bufferCharles Longeau
ok moritz@ ray@
2007-09-04Some more simple malloc(n * m) -> calloc(n, m) conversions.Hans-Joerg Hoexer
ok deraadt@
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
Initial diff from Charles Longeau. OK otto and moritz.
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
and check the number of strings in fortune(6) to prevent empty fortune files to cause division by zero. Fixes PR 5514. OK miod@ ray@ deraadt@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-27- add Beijing as a choice for the capital of ChinaAntoine Jacoutot
from Daniel Dickman <didickman at gmail dot com> ok pyr@
2007-05-07brigader -> brigadier;Jason McIntyre
2007-04-13when updating atc(6) to split the -f and -g flags in two optionsIgor Sobrado
I missed synchronizing the usage() function. problem noticed by jmc@
2007-04-13let -f and -g be in different options even if the argumentIgor Sobrado
names to both flags are the same. spotted by jmc@ with relation to other manual page. ok by jmc@
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
tweak AUTHORS whilst here
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
ok deraadt millert
2007-03-02strlen fixes from Charles Longeau.Ray Lai
OK moritz@.
2007-02-21- Pass full buffer size to fgets.Ray Lai
- No need to initialize buffer. - Spacing. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK moritz@.
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
ok otto@
2006-12-14fix DEBUG by renaming a variable colliding with ncursesMartin Reindl
found by Sascha Welter, ok otto@
2006-11-22Fix an int overflow, reported on bugtraq by Gruzicki Wlodek; ok millert@Otto Moerbeek