summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix an obvious flaw in bounds check: the array of precomputed primesdrochner2010-04-221-4/+5
| | | | | could be overrun if its last entry (65537) was a factor of the input (this does not affect PR misc/43192 -- the factors are much larger here: 7742394596501*159455563099482401)
* Add backslash before a dash to get a minus.wiz2010-04-221-3/+3
|
* Sync with reality. Bump date.dholland2010-04-221-11/+27
|
* handle ctime returning NULL.christos2010-04-041-5/+12
|
* ctime can return NULL.christos2010-04-021-5/+9
|
* fix typo.christos2010-04-021-3/+3
|
* handle ctime returning NULL.christos2010-04-021-6/+3
|
* remove #ifdef SVR4dholland2010-03-292-12/+4
|
* Some improvements to the new UI.dholland2010-03-293-19/+45
|
* reorg for clarity and exposition.dholland2010-03-291-30/+37
|
* Better user interface. From OpenBSD, written by Paul Janzen quite adholland2010-03-294-61/+258
| | | long time ago. A few minor adjustments by yours truly.
* Spell "versus" right.dholland2010-03-291-10/+10
|
* Allow saved game filenames up to PATH_MAX. From OpenBSD.dholland2010-03-291-6/+8
|
* fix quote markup, spotted in openbsd diffsdholland2010-03-291-5/+14
|
* Fix typo. From OpenBSD.dholland2010-03-291-2/+2
|
* Don't exit(0) on failure. Use errx() instead of fprintf.dholland2010-03-291-4/+4
|
* rename text() to wrtext(), aligning it with most other output routines,mrg2010-03-227-38/+38
| | | | | and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists...
* Latin police: use proper conjugation.dholland2010-02-162-2/+2
| | | (whether the rest of the affected fortune is valid either is debatable)
* When using -lcurses, you also need -lterminfo.he2010-02-0617-51/+51
| | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies.
* Userland now builds and uses terminfo instead of termcap.roy2010-02-0320-425/+241
| | | OK: core@, jdc@
* Close file when finished with it. Found by cppcheck.wiz2010-01-171-2/+3
|
* Simplify alloc() to avoid ifdef(LINT) workaround.wiz2010-01-171-26/+4
|
* 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.
* Use .%U instead of .%O for URLs.joerg2010-01-151-2/+2
|
* Christos points out that usage should not use errx, but should usedholland2010-01-031-3/+5
| | | getprogname.
* New sentence, new line.wiz2010-01-011-11/+13
|
* Adjust SYNOPSIS for cfscores to better match reality. Note in BUGSdholland2010-01-011-3/+6
| | | | that the score file isn't portable. Bump date (first time since 1993, and first in 2010...)
* Split struct betinfo into its own header file so it can be shareddholland2010-01-013-25/+50
| | | between canfield and cfscores, instead of copy-pasted.
* Use NULL instead of 0 for pointer tests. Remove an unnecessary cast.dholland2010-01-011-6/+6
|
* Send error messages to stderr. Use errx/warnx, not printf.dholland2010-01-011-9/+6
|
* Correct usage message.dholland2010-01-011-3/+3
|
* Fix math notation, from PR 41547. While here, fix some potential tabdholland2010-01-011-2/+3
| | | damage in the same fortune.
* Hide the cursor during the game.ahoka2009-12-191-2/+10
|
* Fix bad merge. (SUBDIR= != SUBDIR +=)matt2009-12-141-2/+2
|
* Conditionalize some build directories by ${MKCXX}.uebayasi2009-12-141-2/+8
|
* 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
|
* use %option noinput nounputchristos2009-10-292-4/+5
|
* 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
|
* Remove 3rd and 4th clauses in christos' license. OK christos.snj2009-10-212-12/+2
|
* Fix '=' for '==' in a test. From NAKAJIMA Yoshihiro in PR 42177.dholland2009-10-191-3/+3
|
* Disable writing scores when built for /rescue. PR 42009dholland2009-09-081-2/+18
|
* Dumping all system includes anything uses in one big header file is so 1986.dholland2009-08-319-48/+109
| | | | | XXX: Removing unused declarations (thus, unused headers can trigger XXX: it) sometimes causes gcc to generate substantially different XXX: code. Dunno why but it looks rather like a gcc bug.
* 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.