summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove duplicate fortunes.mjl2001-08-311-7/+0
|
* Check for screen sizes that are too small. Fix off-by-one error injsm2001-08-301-4/+13
| | | | trying to place the prize. Position the score appropriately for screens that may not be 80 columns wide.
* Remove documented bug with long worm lengths, and improve handling ofjsm2001-08-292-15/+18
| | | non-standard screen sizes. From OpenBSD.
* Include <time.h> for declarations the Single Unix Specification saysjsm2001-08-293-5/+8
| | | are there but not in <sys/time.h>.
* Ensure trailing newline is present on error and warning messages (lostjsm2001-08-292-6/+6
| | | in previous conversion from <err.h> functions to ISO C ones).
* "wierd" is weird.wiz2001-08-201-1/+1
|
* Change -a to mean all files, as opposed to just a few more files.atatat2001-08-151-43/+71
| | | | | | | | | | | | | | | | Modify the regex handling so that we can match fortunes in rot13'ed databases (rot13 the pattern and maintain a second compiled pattern) and rot13 the rot13'ed fortune before output. Move the rot13 code to a function since it's now used in three places instead of just one. Initialize posfile in one place since it appears to get used without being initialized when using debugging. Make a *slight* improvement to the random seeding by squaring the pid and then xor'ing against the current time, since just xor'ing the time with the pid will not change if they both advance by one from "odd" to "even".
* Fix pasto. From FreeBSD.wiz2001-08-091-2/+2
|
* Fix for FreeBSD/13278, from FreeBSD:wiz2001-08-091-3/+3
| | | | | | | When a game ends that makes the top 10, the function insert_score in score.c is called to make the new score file. But the case for KFIRE (killed by fire) incorrectly uses strcpy instead of strcat (all the other cases use strcat). This puts the string in the wrong place and corrupts the score file.
* seperate -> separatewiz2001-07-225-13/+13
|
* Formatting improvements (from OpenBSD)wiz2001-07-111-4/+7
|
* Typo fixes. From OpenBSD.wiz2001-07-102-4/+4
|
* s/Upon you knees if you appear/Upon your knees if you appear/mason2001-06-242-2/+2
| | | Confirmed against <http://www.alcyone.com/max/lit/devils/>.
* `existent', not `existant'wiz2001-06-192-6/+6
|
* receive, not recievewiz2001-06-124-9/+9
|
* fix building of phantasia ($FILES dependency on $PROG broke things)lukem2001-06-061-2/+2
|
* fix building of cards.pcklukem2001-06-061-2/+2
|
* Remove unnecessary quotes in Dt.wiz2001-06-051-2/+2
|
* No argument for .Os.wiz2001-06-051-2/+2
|
* Overhaul error handling and reporting for regular expressions.christos2001-06-041-15/+22
| | | | | Provide a RE_OK() macro that tests if the current compiled pattern works and a RE_ERROR() macro that prints what went wrong as well as the particular RE implementation can handle.
* Bail out when regex pattern is invalid if using regcomp or regcmp.aymeric2001-06-041-7/+7
| | | | | Remove trailing \n's also. Addresses PR#13109
* don't deref -1.christos2001-06-021-3/+3
|
* Its is Dr. Elizabeth Dehner, not Dehaver.abs2001-05-021-1/+1
| | | From the vast and bewildering trek trivia of norm@sandbox.org.uk
* Spell occurred correctly.simonb2001-04-251-3/+3
|
* NetBSD: You choose the hardware, we'll bring the OS.pooka2001-04-211-33/+35
| | | | | | from David Brownlee on netbsd-advocacy While I'm in here, sort the file using tools/do_sort to get the recently added fortunes into order.
* Some entries from Richard Rauch, posted on netbsd-advocacy.hubertf2001-04-211-0/+8
|
* Negative exit code cleanup: Replace exit(-x) with exit(x).wiz2001-04-062-6/+6
| | | As seen on tech-userlevel.
* mdoc'ify.wiz2001-04-042-276/+301
|
* Whitespace and/or punctuation fixes.wiz2001-04-024-26/+26
|
* mdoc'ify, and clean up in the process.wiz2001-04-021-51/+62
|
* Whitespace and/or punctuation fixes.wiz2001-04-0216-162/+162
|
* Convert to mdoc. Still needs tbl for two tables that have more than 6wiz2001-04-021-640/+570
| | | columns, but looks much nicer now.
* Build the data files in the obj/compile directory and install them withsimonb2001-03-272-34/+29
| | | | FILES and FILESDIR. "Problem" reported by David Querbach on current-users.
* Make mostly gcc -W clean, and other cleanup:jsm2001-03-2552-330/+339
| | | | | | | | | | | | Use const. Add __noreturn__ attributes. Add a __format__ attribute. Add __unused__ attributes. Use symbolic constants for open() and lseek(). Declare types of all function parameters; convert some function definitions to ISO C form. Ensure standard file descriptors are open on startup. Check for errors writing output of makedefs. Avoid duplicate definitions of variables.
* Fix problem noted in PR 6649 (trailing whitespace on .Nm)garbled2001-03-071-2/+2
|
* convert to use getprogname()cgd2001-02-192-10/+7
|
* kill dupepooka2001-02-101-4/+0
|
* Fix simple typo. From bdc@world.std.com in PR misc/12150.simonb2001-02-071-1/+1
|
* fix redundant decls and nested externschristos2001-02-054-14/+14
|
* remove redundant decls.christos2001-02-0520-132/+40
|
* remove duplicate declschristos2001-02-051-5/+1
|
* fix nested externschristos2001-02-051-4/+5
|
* remove redundant declschristos2001-02-051-2/+1
|
* - rename getchar to lgetchar to avoid conflicts with the stdio getcharchristos2001-02-0513-100/+104
| | | | - fix redundant decls and nested externs - use snprintf instead of sprintf
* remove redundant declschristos2001-02-052-9/+5
|
* eliminate nested externschristos2001-02-052-6/+7
|
* fix redundant decls and nested externs. while I am here change my copyrightchristos2001-02-056-45/+36
| | | to TNF.
* fix nested externschristos2001-02-051-4/+5
|
* fix nested extern and usage messagechristos2001-02-051-4/+5
|
* remove redundant declchristos2001-02-051-4/+2
|