summaryrefslogtreecommitdiff
path: root/games/fortune
AgeCommit message (Expand)Author
2017-06-02Fix an infinite loop in fortune(6).Frederic Cambus
2016-11-05spelling fix from eric van gyzen, freebsd r308293;Jason McIntyre
2016-09-02Make build deterministic by not randomizing the datfiles themselves,Theo Buehler
2016-08-27the quotes in "unkempt thoughts" were authored by stanislaw lec,Jason McIntyre
2016-03-07eliminate do_malloc() and do_free().tb
2016-03-07Remove unused fields posfile and was_pos_file from FILEDESC andtb
2016-03-07- General changes:mestre
2016-03-05Convert a hand-rolled strtonum to a call to strtonum(3). This preventstb
2016-01-10As per style(9), remove remaining lint-style comments from games/mestre
2016-01-07Some basic code maintenance in games/tb
2016-01-04More headers removal and sorted the remaining alphabetically.mestre
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre
2015-12-28update the us army democracy excerpt to more closelyJason McIntyre
2015-12-28andy finkel confimed himself as the originator of the rigged demo quote;Jason McIntyre
2015-12-25Declare usage() functions as __dead void, if they don't return, on games sect...mestre
2015-11-15fix a double space issue in the following, rather wonderful, fortune:Jason McIntyre
2015-11-10another open(path, 0)...Theo de Raadt
2015-11-10pledge "stdio rpath" at the top. (Ricardo's 2nd chunk which reducesTheo de Raadt
2015-11-10replace open(path, 0) with open(path, O_RDONLY). amazing to still findTheo de Raadt
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc
2015-09-25use | rather than / for alternatives and some macro fixesIngo Schwarze
2015-09-16big blocks need braces for supportTed Unangst
2015-08-26remove #ifdef OK_TO_WRITE_DISK which isn't used by default.Sebastien Marie
2015-04-04from snj, netbsd -r1.56: "properly pluralize"Jason McIntyre
2015-03-25Fix double word in quote from Ken Olsen.Jeremie Courreges-Anglas
2015-02-06Fix small typo found when testing tedu@'s fortune -o -m change.Kent R. Spillner
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
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
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
2014-10-11Userland reallocarray() audit.Doug Hogan
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
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
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
2013-05-09teenagers from *outer* space ("they blast the flesh off hunmans!");Jason McIntyre