summaryrefslogtreecommitdiffstats
path: root/games/fortune
AgeCommit message (Expand)AuthorFilesLines
2021-01-03add the missing EXIT STATUS and HISTORY sectionsschwarze1-2/+15
2021-01-03Obvious bugfix: requesting a long dictum from a file containing shortschwarze1-2/+2
2021-01-02fix inverted exit status of fortune -m;schwarze1-2/+2
2020-12-15Avoid NULL dereference after returning from copy().zhuk1-2/+2
2020-02-14no need to declare "extern optarg" and "extern optind"schwarze1-3/+1
2019-09-27fix gary zukav's "acceptance without proof" quote, which just appeared onjmc2-2/+2
2019-08-30Move 4 manual pages from not-a-function filenames to a correct filename,deraadt1-3/+3
2019-08-22spelling fix and zap a stray line while here;jmc2-3/+2
2019-02-03give the fake latin proverb "per aspera ad astra" in the moreschwarze1-1/+1
2018-09-15Fix fortune underlines and use the right number of underscores in Notes.bentley2-4/+4
2018-01-12apostrophe fix;jmc1-1/+1
2017-11-25than -> thentb1-1/+1
2017-08-15typo: on -> oftb1-1/+1
2017-08-10Treat backspace as printable in sanitize() for non-UTF8 locales.millert1-2/+2
2017-07-13Use an umlaut in Mobius and uppercase one instance of möbius visible intb4-4/+4
2017-07-13Convert fortunes to UTF-8 from the old "backspace punctuation" method.bentley3-18/+17
2017-07-12Inspect LC_CTYPE and if it isn't UTF-8, weed out bytes that are notschwarze2-3/+30
2017-07-09Remove old junk. From Matthew Martintb5-79/+0
2017-06-30Add missing rot13 function prototypemestre1-1/+2
2017-06-12/usr/games/lib doesn't exist any more, use the new path.akfaew1-2/+2
2017-06-04Use proper bool types in fortune(6).fcambus2-50/+48
2017-06-02Fix an infinite loop in fortune(6).fcambus1-2/+2
2016-11-05spelling fix from eric van gyzen, freebsd r308293;jmc1-1/+1
2016-09-02Make build deterministic by not randomizing the datfiles themselves,tb1-3/+3
2016-08-27the quotes in "unkempt thoughts" were authored by stanislaw lec,jmc1-4/+4
2016-03-07eliminate do_malloc() and do_free().tb1-39/+9
2016-03-07Remove unused fields posfile and was_pos_file from FILEDESC andtb1-13/+9
2016-03-07- General changes:mestre3-10/+10
2016-03-05Convert a hand-rolled strtonum to a call to strtonum(3). This preventstb1-28/+26
2016-01-10As per style(9), remove remaining lint-style comments from games/mestre2-4/+2
2016-01-07Some basic code maintenance in games/tb3-9/+24
2016-01-04More headers removal and sorted the remaining alphabetically.mestre3-22/+25
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre1-2/+2
2015-12-28update the us army democracy excerpt to more closelyjmc1-8/+11
2015-12-28andy finkel confimed himself as the originator of the rigged demo quote;jmc1-0/+1
2015-12-25Declare usage() functions as __dead void, if they don't return, on games section.mestre2-4/+4
2015-11-15fix a double space issue in the following, rather wonderful, fortune:jmc1-1/+1
2015-11-10another open(path, 0)...deraadt1-2/+2
2015-11-10pledge "stdio rpath" at the top. (Ricardo's 2nd chunk which reducesderaadt1-1/+6
2015-11-10replace open(path, 0) with open(path, O_RDONLY). amazing to still findderaadt1-4/+4
2015-10-24Cast ctype functions' argument to unsigned char.mmcc1-6/+6
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc1-3/+3
2015-09-25use | rather than / for alternatives and some macro fixesschwarze1-13/+18
2015-09-16big blocks need braces for supporttedu1-9/+8
2015-08-26remove #ifdef OK_TO_WRITE_DISK which isn't used by default.semarie1-55/+7
2015-04-04from snj, netbsd -r1.56: "properly pluralize"jmc1-1/+1
2015-03-25Fix double word in quote from Ken Olsen.jca1-1/+1
2015-02-06Fix small typo found when testing tedu@'s fortune -o -m change.kspillner1-1/+1
2015-02-06unsigned char is the correct type for ctype functionstedu1-2/+2
2015-02-06no space after #tedu1-31/+31