summaryrefslogtreecommitdiffstats
path: root/fortune
Commit message (Collapse)AuthorAgeFilesLines
* Per [1] the speed of light in a vaccum is exactly 299792458 m/s.jakllsch2011-12-061-1/+1
| | | | | | | | | | | | | | | | | | Per [2] a furlong is 220 yards and a yard is exactly 0.9144 m. Per [3] a fortnight is 14 days. As I didn't find a good authority for what definition of a day a fortnight is measured in, I'll assume here a day is 86400 SI seconds. Thus, the speed of light in a vaccum is approximately 1.80*10^12 furlongs per fortnight. 1.80*10^12 = 299792458*86400*14/(220*0.9144) [1] Resolution 1 of the 17th meeting of the CGPM (1983) http://www.bipm.org/en/CGPM/db/17/1/ [2] Weights and Measures Act 1985 http://www.legislation.gov.uk/ukpga/1985/72 [3] The Concise Oxford Dictionary, 5th Edition, 1964, p. 480
* grammar fixjnemeth2011-11-191-1/+1
|
* NULL does not need a castplunky2011-08-311-3/+3
|
* Remove redundant set of prototypes for local functions, exposed bydholland2011-08-171-11/+2
| | | previous.
* Move some things around so declarations appear in a reasonable order.dholland2011-08-171-33/+32
|
* Use __dead instead of __attribute__((__noreturn__)).dholland2011-08-161-3/+3
|
* kill homebrew error functionschristos2011-08-161-43/+24
|
* Fix spelling: it's *Jef* Raskin, not Jeff Raskin.dyoung2011-01-243-2/+3
|
* add one i saw on irc todaypooka2010-11-251-0/+6
|
* Latin police: use proper conjugation.dholland2010-02-162-2/+2
| | | (whether the rest of the affected fortune is valid either is debatable)
* Close two file descriptors after using them. Found by cppcheck.wiz2010-01-171-2/+4
|
* The default output file extension is '.dat', not '.out'.mbalmer2010-01-171-4/+4
| | | From Lars Nooden via OpenBSD.
* Fix math notation, from PR 41547. While here, fix some potential tabdholland2010-01-011-2/+3
| | | damage in the same fortune.
* was disappointed that someone wrote disappointed with one 'p', so I fixed it.wiz2009-12-081-1/+1
|
* I was disappointed that someone wrote disappointed with two 's', so I fixed it.mbalmer2009-12-081-1/+1
|
* Another spelling mistake.dholland2009-10-291-1/+1
|
* Whitespace.dholland2009-10-296-674/+674
|
* Fix a bunch of typos and spelling errors.snj2009-10-281-135/+135
|
* Kill two duplicates.snj2009-10-281-17/+1
|
* "Ghandi" -> "Gandhi"dholland2009-10-282-2/+1
|
* Don't need -DHAVE_REGCOMP any moredholland2009-08-271-2/+2
|
* Instead of trying to cons up a regexp that ignores case, use REG_ICASE.dholland2009-08-271-51/+13
| | | This makes fortune -im work; it's been broken since whenever.
* Tidy up regexp handling further.dholland2009-08-271-37/+62
|
* Prune conditional compilation for using obsolete regexp libraries.dholland2009-08-271-42/+24
|
* Whitespace.dholland2009-08-271-127/+128
|
* Prevent nasal demons in a case I spotted while preparing the previous.dholland2009-08-271-3/+3
|
* ANSIfy function definitions.dholland2009-08-271-78/+40
|
* Sprinkle some size_t in places where it's better than int.dholland2009-08-271-11/+11
| | | (Reduces casts.)
* remove more unnecessary castsdholland2009-08-271-5/+5
|
* Use correct type for malloc sizes (size_t, not unsigned)dholland2009-08-271-7/+6
|
* remove unnecessary castsdholland2009-08-271-5/+5
|
* sprinkle staticdholland2009-08-122-107/+106
|
* Don't nest displays.joerg2009-04-121-2/+2
|
* grammar fixjnemeth2009-03-151-1/+1
|
* Fix fiance/fiancee confusion. Fix another typo.wiz2008-12-021-3/+3
| | | Jason McIntyre <jmc@kerhand.co.uk>.
* Fix insure -> ensure confusion. From Jason McIntyre <jmc@kerhand.co.uk>.wiz2008-12-021-6/+6
|
* Use uint32_t and include <stdint.h>, instead of using u_int32_tapb2008-10-191-7/+7
| | | and including <sys/types.h>.
* Make this build on Mac OS X.agc2008-09-291-2/+3
|
* Install unstr:apb2008-09-263-4/+6
| | | | | | * in games/fortune/Makefile, add unstr to SUBDIR; * in games/fortune/unstr/Makefile, include ../../Makefile.inc; * in games/fortune/strfile/Makefile, add MLINKS for unstr man page; * in distrib/sets/lists/games/mi, add new files.
* Build strfile both as a host tool and as an installed program:apb2008-09-262-7/+7
| | | | | | | | | | * in games/fortune/strfile/Makefile, build strfile as a regular program instead of as a host tool; * add tools/strfile directory to build strfile as a host tool; * in tools/Makefile, add strfile to SUBDIR list; * in BSD.*.mk, define TOOL_STRFILE variable; * in games/fortune/datfiles/Makefile, use TOOL_STRFILE when creating databases at build time; * in distrib/sets/lists/games/mi, mention usr/games/strfile.
* Make this pass WARNS=4:apb2008-09-261-41/+37
| | | | * u_int32_t -> uint32_t, and remove ifdef test. * add function prototypes.
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-203-12/+12
|
* Fix a tip: use pkg_info, not pkg_add to find out which executableswiz2008-03-251-3/+3
| | | belong to a package.
* Add a tip explaining how to run the tests in /usr/tests.jmmv2008-03-231-0/+8
|
* In example, change dd count size and also chmod so others can't read swap.reed2008-03-221-1/+2
|
* Add five more tips.reed2008-03-211-0/+19
|
* Add "netbsd-tips" fortune database with 23 initial fortunes --reed2008-03-212-4/+120
| | | | | | actually hints or suggestions or tips on using NetBSD. Please share your brief NetBSD usage tips. If you want to discuss or share suggestions, have a look at http://wiki.netbsd.se/netbsd-tips wiki page.
* Typo correction: s/than/that/ in one instance.he2008-02-151-1/+1
|
* I'm guessing that there should be no space between the hyphen andhe2008-01-251-1/+1
| | | the second word in "hand-lettered".
* Fun with parts of speech: `stupid' here is an adjective, not a noun.dholland2008-01-031-1/+1
|