summaryrefslogtreecommitdiff
path: root/games/fortune
AgeCommit message (Collapse)Author
2015-08-26remove #ifdef OK_TO_WRITE_DISK which isn't used by default.Sebastien Marie
and few disambiguisations suggested by cc(1) - parentheses around && within || - explicit braces to avoid ambiguous 'else' ok doug@
2015-04-04from snj, netbsd -r1.56: "properly pluralize"Jason McIntyre
2015-03-25Fix double word in quote from Ken Olsen.Jeremie Courreges-Anglas
"There is no reason for any individual to have a computer in their home."
2015-02-06Fix small typo found when testing tedu@'s fortune -o -m change.Kent R. Spillner
ok jmc@
2015-02-06unsigned char is the correct type for ctype functionsTed Unangst
2015-02-06no space after #Ted Unangst
2015-02-06remove TRUE/FALSE in favor of the true boolean values 1/0Ted Unangst
2015-02-06Debug, whatever it's worth, is clearly not a booleanTed Unangst
2015-02-06cleanup a few bitsTed Unangst
2015-02-06remove no regex ifdef. everybody loves regex.Ted Unangst
2015-02-06use regcomp native case insensitive matching facility instead ofTed Unangst
faking it poorly
2015-02-06don't set a flag with ++; it's a bool, not a counter.Ted Unangst
2015-02-06change int to size_t to avoid integer overflowTed Unangst
2015-02-06fix searching and display of offensive fortunes.Ted Unangst
now, if you want to find an offensive fortune about (e.g.) meat, you can simply run: $ fortune -o -m meat This is much easier than the previous requirement to run a command like: $ fortune -o -m `echo meat | rot13` | rot13 requested by guenther phessler
2015-02-06regex are documented in re_format.7, not the C API in regex.3Ted Unangst
2014-12-07removing the "rigged demo" quote, as it's also present in fortunes (1) file;Jason McIntyre
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
and <sys/ttydefaults.h> Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX Pull in <limits.h> where needed Prefer sizeof(var) over MAXFOO or FOO_MAX ok deraadt@
2014-10-11Userland reallocarray() audit.Doug Hogan
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@
2014-07-01Fix typo in Hoare quotePhilip Guenther
2014-03-30typo fix From: Josh Grosse;Jason McIntyre
2014-02-16malcolm macdougall, not dacdougall;Jason McIntyre
From: Joe Marcus Clarke
2014-01-11optarg/optind are declared in <unistd.h>, so kill the externs herePhilip Guenther
2013-12-11typo fix from gavin atkinson, freebsd -r259189;Jason McIntyre
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
tweaks and ok millert@, ok deraadt@
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
suggestions and ok millert@
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
From: Jan Stary
2013-05-09teenagers from *outer* space ("they blast the flesh off hunmans!");Jason McIntyre
2013-02-18typo fix; from pgoyette, netbsd -r1.15 and -r1.11, respectively;Jason McIntyre
2013-02-10typo; fix from patrick keshishianJason McIntyre
2012-11-24grammar fix; from Chris Petrik, freebsd pr 173868Jason McIntyre
2012-11-17pjanzen spotted that my previous commit mistakenly omitted anotherJason McIntyre
spelling fix;
2012-11-16two spelling fixes; from John-Mark Gurney (freebsd -r243048);Jason McIntyre
2012-06-20typo; netbsd -r1.10Jason McIntyre
2012-05-24typosMiod Vallat
2011-12-04Fix grammar and spelling in a Latin fortune.Pascal Stumpf
ok jmc@
2011-11-20grammar fix, from jnemeth@netbsd (-r1.48);Jason McIntyre
2011-06-10typo; from Doug Barton (freebsd r222890)Jason McIntyre
2011-05-16some spelling fixes from Lucas De Marchi, via freebsd;Jason McIntyre
2011-01-03- plug mem leak.Jasper Lievisse Adriaanse
ok chl@
2010-09-04Update 'Fastest Defeat In Chess' fortune, trying to dispel GibaudKenneth R Westerback
- Lazard 1924 myth. prompted by and ok jmc@
2010-07-31fix a capitalisation error;Jason McIntyre
2010-07-26fix the Cecil Beaton quote; from Rob Farmer, freebsd pr #148916Jason McIntyre
2010-07-02update to modern regex code and remove libcompat. ok deraadt phesslerTed Unangst
2010-02-21fix display formatting; ok schwarze sobradoJason McIntyre
2010-02-20drop nested display, fixing the build with mandoc(1);Ingo Schwarze
feedback and ok jmc@
2010-01-17default output file ends in ".dat", not ".out";Ingo Schwarze
reported by Lars Nooden <lars dot curator at gmail dot com> while here, - change .Pa .dat to .Sy .dat in one place for uniformity and to avoid ambiguity - fix the files section, too committing right away because this is not installed by default, and unstr(8) is not even built by default...
2009-11-05fortunes fix from dougb@freebsd, revision 198921Jason McIntyre
2009-10-30typo from dholland@netbsd (-r1.38);Jason McIntyre
2009-10-29various fixes from netbsd -r1.35 and -r1.36 (snj@netbsd)Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms