]>
git.cameronkatri.com Git - bsdgames-darwin.git/log
wiz [Fri, 29 Nov 2002 19:09:57 +0000 (19:09 +0000)]
Use more markup, and bump date for ppt's -d flag.
atatat [Tue, 26 Nov 2002 23:07:36 +0000 (23:07 +0000)]
Tweak the argc/argv usage a bit more, and be a little less eager about
printing newlines.
kim [Tue, 26 Nov 2002 21:39:18 +0000 (21:39 +0000)]
Don't skip the first arg.
kim [Tue, 26 Nov 2002 21:34:07 +0000 (21:34 +0000)]
initialize dflag to zero, so encoding works.
kim [Tue, 26 Nov 2002 03:49:53 +0000 (03:49 +0000)]
I forgot to compile first...
kim [Tue, 26 Nov 2002 03:47:45 +0000 (03:47 +0000)]
Add ppt decoding from Michael Shalayeff <mickey@lucifier.net>
christos [Sun, 24 Nov 2002 18:03:14 +0000 (18:03 +0000)]
Fix bogon in compat re code.
hubertf [Thu, 21 Nov 2002 15:06:14 +0000 (15:06 +0000)]
NetBSD - love all, serve all.
-- Silke Mueller
drochner [Tue, 22 Oct 2002 16:14:04 +0000 (16:14 +0000)]
fix duplicate limerick-o in CLEANFILES
itojun [Fri, 18 Oct 2002 14:12:14 +0000 (14:12 +0000)]
avoid buffer overrun. fix from openbsd.
reported by Niels Heinen <niels.heinen@ubizen.com>
mrg [Tue, 1 Oct 2002 14:18:57 +0000 (14:18 +0000)]
- use correctly bounded strings when reloading a saved game. in particular,
do not let the save game file "string length" exceed the amount of space
supplied. as noted by <stanojr@iserver.sk> on bugtraq.
- minor KNF.
tested by simonb.
wiz [Mon, 30 Sep 2002 12:43:22 +0000 (12:43 +0000)]
n-dashes are even better here. Noted by Robert Elz.
wiz [Thu, 26 Sep 2002 18:31:58 +0000 (18:31 +0000)]
Lots of minor fixes resulting from reading these man pages in detail.
wiz [Thu, 26 Sep 2002 16:33:53 +0000 (16:33 +0000)]
Mdoc nits -- unneeded ".
wiz [Thu, 26 Sep 2002 16:29:25 +0000 (16:29 +0000)]
Ispell.
wiz [Thu, 26 Sep 2002 16:12:39 +0000 (16:12 +0000)]
New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.
mycroft [Fri, 20 Sep 2002 21:00:01 +0000 (21:00 +0000)]
Minor rearrangement.
mycroft [Fri, 20 Sep 2002 20:58:12 +0000 (20:58 +0000)]
Remove an unused declaration.
mycroft [Fri, 20 Sep 2002 20:54:15 +0000 (20:54 +0000)]
select() -> poll()
Also, turn off talk announcements; it's a wretched hack.
mycroft [Fri, 20 Sep 2002 17:27:57 +0000 (17:27 +0000)]
If we're searching for a huntd, probe local_address along with broadcast
addresses.
mycroft [Fri, 20 Sep 2002 15:47:19 +0000 (15:47 +0000)]
select() -> poll()
mycroft [Thu, 19 Sep 2002 21:26:56 +0000 (21:26 +0000)]
Slight redux.
mycroft [Thu, 19 Sep 2002 21:12:10 +0000 (21:12 +0000)]
select() -> poll()
mycroft [Thu, 19 Sep 2002 03:15:43 +0000 (03:15 +0000)]
select() -> poll(), nanosleep()
lukem [Thu, 19 Sep 2002 03:15:39 +0000 (03:15 +0000)]
use NETBSDSRCDIR as appropriate
lukem [Wed, 18 Sep 2002 06:16:39 +0000 (06:16 +0000)]
some makefile de-linting
lukem [Wed, 18 Sep 2002 03:23:00 +0000 (03:23 +0000)]
need bsd.own.mk for NETBSDSRCDIR
lukem [Wed, 18 Sep 2002 02:51:46 +0000 (02:51 +0000)]
use NETBSDSRCDIR as appropriate
chuck [Thu, 22 Aug 2002 01:49:34 +0000 (01:49 +0000)]
shops are only supposed to have 1 door (as per standard hack 1.0.3).
for some reason, the version of 1.0.3 that was in the 4.4 lite tree
was modified to allow shops with two doors -- this violates the spirit
of the game. with this diff, we revert back to classic 1.0.3 behavior.
christos [Tue, 20 Aug 2002 13:49:11 +0000 (13:49 +0000)]
remove spurious ^A's and ||
itojun [Mon, 12 Aug 2002 02:37:26 +0000 (02:37 +0000)]
calloc() arg mistake. it's (nelem, size). from openbsd
tron [Tue, 6 Aug 2002 11:39:53 +0000 (11:39 +0000)]
Remove unused variable "err".
dbj [Tue, 6 Aug 2002 03:39:44 +0000 (03:39 +0000)]
fix regular expression matcher.
the string "xc" was failing to match "x[[a|b]|c]"
christos [Fri, 2 Aug 2002 03:06:24 +0000 (03:06 +0000)]
utmpx support.
grant [Sat, 20 Jul 2002 08:36:17 +0000 (08:36 +0000)]
sweep of errx/warnx, remove unnecessary trailing \n
grant [Mon, 8 Jul 2002 02:34:20 +0000 (02:34 +0000)]
add the following quote from elric@.. (with permission, of course)
I held off from Uni until NetBSD came out.
I decided, ``if there's no NetBSD then I'll just flip burgers''
-- Roland Dowdeswell
tron [Sun, 7 Jul 2002 09:35:07 +0000 (09:35 +0000)]
Make "rogue" build with "WARNS=2". The necessary patches were supplied
by David A. Holland in PR bin/17498.
mycroft [Tue, 2 Jul 2002 17:18:21 +0000 (17:18 +0000)]
I was bored, so... simplify(?) this code a bit.
dbj [Tue, 2 Jul 2002 15:25:47 +0000 (15:25 +0000)]
s/FOURTY/FORTY/
itojun [Mon, 1 Jul 2002 20:55:30 +0000 (20:55 +0000)]
backout previous (arc4random), per request from sommerfeld
itojun [Mon, 1 Jul 2002 14:51:52 +0000 (14:51 +0000)]
use arc4random
simonb [Tue, 18 Jun 2002 23:07:36 +0000 (23:07 +0000)]
Provide a BN_dec2bn() shim for the non-openssl case that reports an error
if strtoul() fails.
simonb [Mon, 17 Jun 2002 15:43:52 +0000 (15:43 +0000)]
Fix a logic botch where if a number smaller than the square of the seive
was prime to still called the Pollard Rho function when it didn't have
to. Problem report by Nathan Williams.
Unfortunately this one can't be picked up by a simple regression test
since the broken way still produced the correct output, but just took
far longer...
itojun [Sun, 16 Jun 2002 22:24:00 +0000 (22:24 +0000)]
make factor work with and without openssl.
martin [Sun, 16 Jun 2002 10:21:40 +0000 (10:21 +0000)]
Include <bsd.own.mk>, to make MKCRYPTO available.
simonb [Sat, 15 Jun 2002 16:08:17 +0000 (16:08 +0000)]
Only build factor(6) if ${MKCRYPTO} != no.
simonb [Sat, 15 Jun 2002 02:12:23 +0000 (02:12 +0000)]
Use libcrypto's bignum support to implement a Pollard Rho factoring
algorithm so we can factorise numbers larger than a host long.
wiz [Sun, 2 Jun 2002 22:17:37 +0000 (22:17 +0000)]
de-register
wiz [Sun, 26 May 2002 00:12:11 +0000 (00:12 +0000)]
__STDC__ is always defined on NetBSD.
pooka [Sat, 18 May 2002 10:17:32 +0000 (10:17 +0000)]
remove the attributions from my slogans. they kept popping up in
awkard places
uwe [Fri, 17 May 2002 02:21:20 +0000 (02:21 +0000)]
NetBSD/toaster: we wish the toaster to be happy too.
(Idea by Rafal, though he denies that)
hubertf [Fri, 17 May 2002 00:20:01 +0000 (00:20 +0000)]
#netbsd - where monks recite their internal dialogue while debugging.
-- Bernhard Riedel
pooka [Sun, 12 May 2002 16:27:59 +0000 (16:27 +0000)]
Raiders of the Lost Arch
hubertf [Sun, 31 Mar 2002 04:07:22 +0000 (04:07 +0000)]
The game would show the statistic info and immediately prompt you with a new
question, so you lose time, etc. Added a few lines so that it prompts to
press the RETURN key to continue.
Code contributed by Vic Hari <vkhr@rawsocket.net> in PR 16135
christos [Tue, 12 Mar 2002 15:20:14 +0000 (15:20 +0000)]
PR/15878: Ed Ravin: fortune all frees junk pointers. Fixed, free structure
members before freeing the structure itself.
thorpej [Tue, 5 Mar 2002 21:29:56 +0000 (21:29 +0000)]
No need to reference .OBJDIR here.
thorpej [Tue, 5 Mar 2002 21:28:12 +0000 (21:28 +0000)]
No need to reference .OBJDIR here.
thorpej [Tue, 5 Mar 2002 19:17:44 +0000 (19:17 +0000)]
There is no need to explcitly use ${.OBJDIR}; it's implied.
wiz [Tue, 26 Feb 2002 02:37:28 +0000 (02:37 +0000)]
Correct spelling of "delimiter", and remove from ignored-errors lists.
wiz [Tue, 19 Feb 2002 17:09:40 +0000 (17:09 +0000)]
strategy should have an 'r'. Inspired by similar change in OpenBSD.
lukem [Sat, 9 Feb 2002 09:21:47 +0000 (09:21 +0000)]
use ${INSTALL_FILE} as appropriate
ross [Fri, 8 Feb 2002 01:21:55 +0000 (01:21 +0000)]
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
christos [Thu, 31 Jan 2002 17:35:52 +0000 (17:35 +0000)]
Be more verbose about teleports, and fix a minor problem in autobot mode.
tv [Wed, 30 Jan 2002 19:41:39 +0000 (19:41 +0000)]
Don't put [] around the strings passed to tr -- those can be interpreted
by shells. Just quote 'em.
perry [Sun, 27 Jan 2002 00:35:16 +0000 (00:35 +0000)]
Temporarily add a "MKHIDEGAME" variable that by default blocks the
"install some games into /usr/games/hide" dance. This is ?='ed to "no"
at the top of the file.
XXX What we should do ultimately is either add this to bsd.own.mk or
rename it to MKDM and also have it control whether dm(8) is built at all.
perry [Sun, 27 Jan 2002 00:08:49 +0000 (00:08 +0000)]
Make this work if HIDEGAME is not set but SETGIDGAME is set.
Also, fix SETGIDGAME -- it was breaking for anything that included
bsd.own.mk
wiz [Sun, 20 Jan 2002 00:52:22 +0000 (00:52 +0000)]
Use standard headers.
jsm [Sun, 20 Jan 2002 00:42:51 +0000 (00:42 +0000)]
Allow minimum word length to be set on command line. Patch based on
one by Joey Hess <joeyh@debian.org>.
pooka [Thu, 10 Jan 2002 15:31:04 +0000 (15:31 +0000)]
few entries more
soren [Thu, 20 Dec 2001 20:10:33 +0000 (20:10 +0000)]
Sync getopt() / man page with actual getopt options.
gmcgarry [Wed, 19 Dec 2001 06:18:25 +0000 (06:18 +0000)]
.include <bsd.own.mk> early
tv [Wed, 12 Dec 2001 00:07:45 +0000 (00:07 +0000)]
MKfoo=no -> NOfoo=
blymn [Thu, 6 Dec 2001 12:24:00 +0000 (12:24 +0000)]
Change deprecated curses function to new equivalent.
blymn [Thu, 6 Dec 2001 12:21:00 +0000 (12:21 +0000)]
Changed deprecated curses call to new equivalent.
blymn [Thu, 6 Dec 2001 12:19:44 +0000 (12:19 +0000)]
Change deprecated curses call to new equivalent.
blymn [Thu, 6 Dec 2001 12:17:57 +0000 (12:17 +0000)]
Change deprecated curses function to new equivalent.
blymn [Thu, 6 Dec 2001 12:15:37 +0000 (12:15 +0000)]
Change deprecated curses function calls to new equivalents.
blymn [Thu, 6 Dec 2001 11:59:45 +0000 (11:59 +0000)]
Change deprecated curses function to new equivalent.
wiz [Tue, 4 Dec 2001 17:56:30 +0000 (17:56 +0000)]
Replace some misuses of "then" with "than".
blymn [Tue, 4 Dec 2001 13:12:23 +0000 (13:12 +0000)]
Replace deprecated curses call with supported equivalent.
blymn [Tue, 4 Dec 2001 13:00:24 +0000 (13:00 +0000)]
Convert old deprecated curses call to new equivalent.
wiz [Wed, 21 Nov 2001 19:01:31 +0000 (19:01 +0000)]
Presence looks better with a 'c' instead of an 's'.
perry [Mon, 19 Nov 2001 04:48:44 +0000 (04:48 +0000)]
remove a spurious .include <bsd.own.mk>
christos [Fri, 2 Nov 2001 18:27:00 +0000 (18:27 +0000)]
Update to the new t_agetstr() API.
wiz [Sun, 28 Oct 2001 19:52:53 +0000 (19:52 +0000)]
Undo indentation glitch in previous.
proff [Sun, 28 Oct 2001 19:47:48 +0000 (19:47 +0000)]
improve random number seeding
mjl [Mon, 22 Oct 2001 00:55:00 +0000 (00:55 +0000)]
Add one.
proff [Sat, 20 Oct 2001 09:33:39 +0000 (09:33 +0000)]
Fortune is not moribund.
Add Farberisms from Prof. Dave Farber.
From: David Farber <dave@farber.net>
To: proff@iq.org (Julian Assange)
Date: Sat, 20 Oct 2001 03:29:08 -0400
Subject: Re: farberisms
Fine with me
At 02:27 PM 10/20/2001 +1000, you wrote:
>Hi Dave,
>
>I've just come accross your list of `Farberisms', which had me in
>stiches. As these are deliciously `fortune'esqe, I'd like to add
>them to the NetBSD distribution. Do you have any objections?
>
>Cheers,
>Julian.
tv [Fri, 19 Oct 2001 03:06:09 +0000 (03:06 +0000)]
Rename com#.c to command#.c to avoid conflicts with those file basenames
on certain Microsoft host OS's.
wiz [Mon, 24 Sep 2001 13:22:25 +0000 (13:22 +0000)]
va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
lukem [Wed, 19 Sep 2001 04:54:06 +0000 (04:54 +0000)]
if we're going to quote the movie, let's at least get it *right*
wiz [Tue, 18 Sep 2001 18:15:49 +0000 (18:15 +0000)]
Give initiali[sz]e all the "i"s it deserves.
wiz [Sun, 16 Sep 2001 16:34:23 +0000 (16:34 +0000)]
Spell 'occurred' with two 'r's.
mjl [Sat, 1 Sep 2001 22:30:54 +0000 (22:30 +0000)]
More quote cleanup. Remove a fortune that also is in -o.
Add a couple of fortunes I had lying around.
mjl [Sat, 1 Sep 2001 21:28:28 +0000 (21:28 +0000)]
Some more quotes removed. Corrected errors noticed by Andrew Brown
<atatat@atatdot.net>.
mjl [Sat, 1 Sep 2001 19:35:32 +0000 (19:35 +0000)]
Fix typos and spelos. Add and correct some attributions. Add a
couple of fortunes. Canonize quotes. Remove duplicate fortunes.
Correct author names.
Mostly from FreeBSD and OpenBSD.
jsm [Fri, 31 Aug 2001 07:17:02 +0000 (07:17 +0000)]
Always lseek back to the beginning of the file in post(), which may be
called twice in a game if a bonus occurs. Patch from Malcolm Parsons
<malcolm@ivywell.screaming.net>.
jsm [Fri, 31 Aug 2001 07:16:22 +0000 (07:16 +0000)]
Ensure that the random hop delta does make the cave connected. Based
on bug report and patch from <afghan@afghanhound.org.uk>.
jsm [Fri, 31 Aug 2001 07:15:44 +0000 (07:15 +0000)]
Keep track of visible worm length. If nowhere is available for the
new prize, have the player win rather than hanging. Bug reported by
Malcolm Parsons <malcolm@ivywell.screaming.net>.
simonb [Fri, 31 Aug 2001 00:17:45 +0000 (00:17 +0000)]
Match quotes.