]>
git.cameronkatri.com Git - bsdgames-darwin.git/log
wiz [Tue, 10 Jul 2001 16:56:39 +0000 (16:56 +0000)]
Typo fixes. From OpenBSD.
mason [Sun, 24 Jun 2001 23:25:19 +0000 (23:25 +0000)]
s/Upon you knees if you appear/Upon your knees if you appear/
Confirmed against <http://www.alcyone.com/max/lit/devils/>.
wiz [Tue, 19 Jun 2001 13:42:07 +0000 (13:42 +0000)]
`existent', not `existant'
wiz [Tue, 12 Jun 2001 15:17:10 +0000 (15:17 +0000)]
receive, not recieve
lukem [Wed, 6 Jun 2001 17:34:19 +0000 (17:34 +0000)]
fix building of phantasia ($FILES dependency on $PROG broke things)
lukem [Wed, 6 Jun 2001 17:31:28 +0000 (17:31 +0000)]
fix building of cards.pck
wiz [Tue, 5 Jun 2001 12:41:04 +0000 (12:41 +0000)]
Remove unnecessary quotes in Dt.
wiz [Tue, 5 Jun 2001 11:11:07 +0000 (11:11 +0000)]
No argument for .Os.
christos [Mon, 4 Jun 2001 21:21:42 +0000 (21:21 +0000)]
Overhaul error handling and reporting for regular expressions.
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.
aymeric [Mon, 4 Jun 2001 20:56:56 +0000 (20:56 +0000)]
Bail out when regex pattern is invalid if using regcomp or regcmp.
Remove trailing \n's also.
Addresses PR#13109
christos [Sat, 2 Jun 2001 17:30:28 +0000 (17:30 +0000)]
don't deref -1.
abs [Wed, 2 May 2001 10:42:34 +0000 (10:42 +0000)]
Its is Dr. Elizabeth Dehner, not Dehaver.
From the vast and bewildering trek trivia of norm@sandbox.org.uk
simonb [Wed, 25 Apr 2001 02:33:08 +0000 (02:33 +0000)]
Spell occurred correctly.
pooka [Sat, 21 Apr 2001 23:11:30 +0000 (23:11 +0000)]
NetBSD: You choose the hardware, we'll bring the OS.
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.
hubertf [Sat, 21 Apr 2001 14:49:08 +0000 (14:49 +0000)]
Some entries from Richard Rauch, posted on netbsd-advocacy.
wiz [Fri, 6 Apr 2001 11:13:45 +0000 (11:13 +0000)]
Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
wiz [Wed, 4 Apr 2001 11:41:01 +0000 (11:41 +0000)]
mdoc'ify.
wiz [Mon, 2 Apr 2001 22:47:29 +0000 (22:47 +0000)]
Whitespace and/or punctuation fixes.
wiz [Mon, 2 Apr 2001 22:46:18 +0000 (22:46 +0000)]
mdoc'ify, and clean up in the process.
wiz [Mon, 2 Apr 2001 22:42:37 +0000 (22:42 +0000)]
Whitespace and/or punctuation fixes.
wiz [Mon, 2 Apr 2001 22:41:43 +0000 (22:41 +0000)]
Convert to mdoc. Still needs tbl for two tables that have more than 6
columns, but looks much nicer now.
simonb [Tue, 27 Mar 2001 02:23:28 +0000 (02:23 +0000)]
Build the data files in the obj/compile directory and install them with
FILES and FILESDIR.
"Problem" reported by David Querbach on current-users.
jsm [Sun, 25 Mar 2001 20:43:58 +0000 (20:43 +0000)]
Make mostly gcc -W clean, and other cleanup:
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.
garbled [Wed, 7 Mar 2001 22:30:38 +0000 (22:30 +0000)]
Fix problem noted in PR 6649 (trailing whitespace on .Nm)
cgd [Mon, 19 Feb 2001 22:39:39 +0000 (22:39 +0000)]
convert to use getprogname()
pooka [Sat, 10 Feb 2001 18:14:13 +0000 (18:14 +0000)]
kill dupe
simonb [Wed, 7 Feb 2001 22:59:19 +0000 (22:59 +0000)]
Fix simple typo. From bdc@world.std.com in PR misc/12150.
christos [Mon, 5 Feb 2001 01:12:46 +0000 (01:12 +0000)]
fix redundant decls and nested externs
christos [Mon, 5 Feb 2001 01:10:08 +0000 (01:10 +0000)]
remove redundant decls.
christos [Mon, 5 Feb 2001 01:04:25 +0000 (01:04 +0000)]
remove duplicate decls
christos [Mon, 5 Feb 2001 01:02:45 +0000 (01:02 +0000)]
fix nested externs
christos [Mon, 5 Feb 2001 01:01:27 +0000 (01:01 +0000)]
remove redundant decls
christos [Mon, 5 Feb 2001 00:57:32 +0000 (00:57 +0000)]
- rename getchar to lgetchar to avoid conflicts with the stdio getchar
- fix redundant decls and nested externs
- use snprintf instead of sprintf
christos [Mon, 5 Feb 2001 00:42:14 +0000 (00:42 +0000)]
remove redundant decls
christos [Mon, 5 Feb 2001 00:40:45 +0000 (00:40 +0000)]
eliminate nested externs
christos [Mon, 5 Feb 2001 00:37:43 +0000 (00:37 +0000)]
fix redundant decls and nested externs. while I am here change my copyright
to TNF.
christos [Mon, 5 Feb 2001 00:30:38 +0000 (00:30 +0000)]
fix nested externs
christos [Mon, 5 Feb 2001 00:29:44 +0000 (00:29 +0000)]
fix nested extern and usage message
christos [Mon, 5 Feb 2001 00:28:30 +0000 (00:28 +0000)]
remove redundant decl
christos [Mon, 5 Feb 2001 00:27:35 +0000 (00:27 +0000)]
fix nested extern
christos [Mon, 5 Feb 2001 00:23:59 +0000 (00:23 +0000)]
remove redundant decl
christos [Mon, 5 Feb 2001 00:22:52 +0000 (00:22 +0000)]
fix redundant decls and nested externs
christos [Mon, 5 Feb 2001 00:20:58 +0000 (00:20 +0000)]
fix nested extern
christos [Mon, 5 Feb 2001 00:20:05 +0000 (00:20 +0000)]
eliminate redundant decls
mjl [Tue, 30 Jan 2001 00:25:30 +0000 (00:25 +0000)]
Tyop: foresight, not forsight (FreeBSD PR/24637)
jdolecek [Thu, 25 Jan 2001 20:41:41 +0000 (20:41 +0000)]
play(): use snprintf() instead of hard-to-parse strncpy() calls
itojun [Sat, 20 Jan 2001 15:06:34 +0000 (15:06 +0000)]
avoid strange typcast.
cgd [Tue, 16 Jan 2001 02:50:27 +0000 (02:50 +0000)]
comment or delete text after CPP directives.
cgd [Tue, 16 Jan 2001 02:44:43 +0000 (02:44 +0000)]
include stdlib.h for prototypes (typically for exit()).
cgd [Tue, 16 Jan 2001 02:41:17 +0000 (02:41 +0000)]
avoid C sequence point issues warned about by development version of gcc.
jwise [Fri, 12 Jan 2001 04:33:51 +0000 (04:33 +0000)]
The capital of Mordor is _not_ Minas Morgul.
lukem [Tue, 9 Jan 2001 23:49:54 +0000 (23:49 +0000)]
- openlog "huntd" instead of "HUNT"
- consistently log non-critical errors at LOG_WARNING not LOG_ERR
- consistently use positive numbers for exit() and _exit()
- one warning was using printf() instead of syslog()
lukem [Tue, 9 Jan 2001 03:13:39 +0000 (03:13 +0000)]
convert to using .WAIT
lukem [Thu, 4 Jan 2001 17:24:35 +0000 (17:24 +0000)]
use more standard %ll_ in favour of %q_
itojun [Thu, 4 Jan 2001 06:33:18 +0000 (06:33 +0000)]
need string.h for prototype (checked with alpha)
jwise [Thu, 4 Jan 2001 06:16:51 +0000 (06:16 +0000)]
Normalize signature of ship handling functions -- struct ship * from and
struct ship * to are now always the first two args.
jwise [Thu, 4 Jan 2001 05:34:56 +0000 (05:34 +0000)]
Various stylistic nits.
jwise [Thu, 4 Jan 2001 05:06:15 +0000 (05:06 +0000)]
Use License templates from localsrc for license on new files.
jwise [Thu, 4 Jan 2001 04:41:41 +0000 (04:41 +0000)]
Break out curses display-related globals into a new header file, so that
<curses.h> doesn't have to be included all over the place.
jwise [Thu, 4 Jan 2001 03:51:23 +0000 (03:51 +0000)]
More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't
include any).
b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't
have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
jwise [Thu, 4 Jan 2001 03:21:16 +0000 (03:21 +0000)]
Rationalize inclusion of header files: cut down on `include everything
everywhere' a little (more to go), and as per KNF, local includes after
system includes.
jwise [Thu, 4 Jan 2001 02:43:32 +0000 (02:43 +0000)]
Second half of static-ization of local funcs.
jwise [Thu, 4 Jan 2001 01:56:27 +0000 (01:56 +0000)]
G/C undocumented and unimplemented `-D' (debug) option.
jwise [Thu, 4 Jan 2001 01:53:24 +0000 (01:53 +0000)]
First half of static-ization of local funcs.
jwise [Thu, 4 Jan 2001 01:13:34 +0000 (01:13 +0000)]
De-`register'
jwise [Mon, 1 Jan 2001 22:33:01 +0000 (22:33 +0000)]
Fix getopt usage (again) in case where user does not choose a scenario on
the command line.
jwise [Mon, 1 Jan 2001 22:23:29 +0000 (22:23 +0000)]
Missed commit -- ANSIfy in preparation for further work.
jwise [Mon, 1 Jan 2001 22:05:04 +0000 (22:05 +0000)]
Fix getopt() usage.
jwise [Mon, 1 Jan 2001 21:57:37 +0000 (21:57 +0000)]
ANSIfy in preparation for further work.
sommerfeld [Sat, 30 Dec 2000 17:51:26 +0000 (17:51 +0000)]
${PRINTOBJDIR}ify
mycroft [Sun, 17 Dec 2000 10:08:08 +0000 (10:08 +0000)]
Another one that really belongs here...
mycroft [Sun, 17 Dec 2000 09:35:21 +0000 (09:35 +0000)]
Compress the other entries vertically.
mycroft [Sun, 17 Dec 2000 09:25:38 +0000 (09:25 +0000)]
Reformat one entry for vertical space.
mycroft [Sun, 17 Dec 2000 09:17:51 +0000 (09:17 +0000)]
Yes, it's about damn time fortune(6) got some new material.
tsarna [Thu, 14 Dec 2000 02:38:02 +0000 (02:38 +0000)]
CNN, BSD declare Bush winner.
jwise [Thu, 30 Nov 2000 22:07:24 +0000 (22:07 +0000)]
Fix warning.
jwise [Thu, 30 Nov 2000 22:06:04 +0000 (22:06 +0000)]
Use random() instead of rand(), and seed from time(3) instead of from getpid().
jwise [Thu, 30 Nov 2000 22:02:20 +0000 (22:02 +0000)]
Change the macro to roll a six-sided die from die() to dieroll() (for
obvious reasons of convention).
jwise [Thu, 30 Nov 2000 21:50:58 +0000 (21:50 +0000)]
ANSIfy in preparation for changes.
jwise [Thu, 30 Nov 2000 21:38:57 +0000 (21:38 +0000)]
Use getopt(3) for flag processing.
jwise [Thu, 30 Nov 2000 21:31:33 +0000 (21:31 +0000)]
Fix style nit.
jwise [Thu, 30 Nov 2000 21:29:32 +0000 (21:29 +0000)]
ANSIfy in preparation for other changes.
soren [Tue, 21 Nov 2000 00:18:52 +0000 (00:18 +0000)]
Just print basename in usage string.
lukem [Tue, 7 Nov 2000 05:51:54 +0000 (05:51 +0000)]
remove unnecessary command name after .Nm
lukem [Tue, 7 Nov 2000 05:49:31 +0000 (05:49 +0000)]
use lowercase with .Nm to match actual command name
mrg [Tue, 31 Oct 2000 13:27:56 +0000 (13:27 +0000)]
fix a bug in the call to srandom(): xor time() with getpid(), don't add them!
now fortune(6) run in an unending loop does not appear to show the same
fortunes over and over and over.
hubertf [Mon, 9 Oct 2000 00:58:16 +0000 (00:58 +0000)]
NetBSD will put hair on a UNIX admin's chest
-- Jason R. Fink
mjl [Fri, 29 Sep 2000 00:40:40 +0000 (00:40 +0000)]
Removed duplicate entry. Fixes FreeBSD PR/21629.
jsm [Mon, 25 Sep 2000 19:37:58 +0000 (19:37 +0000)]
In cypher(), don't attempt to make sense of words other than VERBs or
KNIFE when a verb is required. Add AUXVERB for "make", "move",
"climb" (as in "make love", "climb up") and ignore AUXVERB as a verb,
going on to the next word, instead of treating these words as
adjectives. When creating new verbs from "put on", "put down", "take
off", mark them as type VERB. Mostly from Paul Janzen
<pjanzen@foatdi.harvard.edu>.
jsm [Mon, 25 Sep 2000 14:44:59 +0000 (14:44 +0000)]
Add new flags OBJ_PERSON and OBJ_NONOBJ to the objflags array.
jsm [Mon, 25 Sep 2000 14:08:08 +0000 (14:08 +0000)]
Add OBJ_AN flag to objflags so as to use "a" or "an" appropriately in
messages; avoids "a amulet", "a Elf". Define and use macros to use
"a", "an", "the", "is", "are" appropriately. Partly based on OpenBSD.
jsm [Mon, 25 Sep 2000 14:06:20 +0000 (14:06 +0000)]
Remove excess blank lines. From OpenBSD.
jsm [Mon, 25 Sep 2000 14:05:52 +0000 (14:05 +0000)]
Fix loving already loved goddess; avoid fallthrough after loving
goddess; give error on "love amulet". From OpenBSD.
jsm [Mon, 25 Sep 2000 00:33:18 +0000 (00:33 +0000)]
Use defined constant FINAL instead of hardcoded 275. From OpenBSD.
jsm [Mon, 25 Sep 2000 00:28:54 +0000 (00:28 +0000)]
Fix logic error in use of n and wordnumber in murder() when using
laser. From OpenBSD.
jsm [Sun, 24 Sep 2000 15:51:40 +0000 (15:51 +0000)]
Discard any part of a line of input that goes beyond our buffer rather
than treating it as our next line of input. From OpenBSD.
jsm [Sun, 24 Sep 2000 14:42:18 +0000 (14:42 +0000)]
Give less cryptic messages than "-1%" when WEIGHT or CUMBER are zero.
jsm [Sun, 24 Sep 2000 14:20:23 +0000 (14:20 +0000)]
Add explicit no-ops to empty loops following the NetBSD style guide.
jsm [Sun, 24 Sep 2000 14:11:09 +0000 (14:11 +0000)]
Make hash table static in parse.c.
jsm [Sun, 24 Sep 2000 09:47:22 +0000 (09:47 +0000)]
Use NULL instead of 0 (from OpenBSD). Also add or adjust comments.