]> git.cameronkatri.com Git - bsdgames-darwin.git/log
bsdgames-darwin.git
26 years agofix usage
hubertf [Wed, 18 Nov 1998 09:06:26 +0000 (09:06 +0000)]
fix usage

26 years agoconstify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Tue, 10 Nov 1998 13:43:30 +0000 (13:43 +0000)]
constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoconstify, per PR 6148
hubertf [Tue, 10 Nov 1998 13:01:31 +0000 (13:01 +0000)]
constify, per PR 6148

26 years agomake objdir-aware
hubertf [Mon, 9 Nov 1998 15:30:10 +0000 (15:30 +0000)]
make objdir-aware

26 years agodon't install in /usr/share if NOSHARE is defined
lukem [Tue, 29 Sep 1998 07:33:20 +0000 (07:33 +0000)]
don't install in /usr/share if NOSHARE is defined

26 years agoFix args processing of backgammon and teachgammon, closes pr 5345 by
frueauf [Tue, 15 Sep 1998 13:43:34 +0000 (13:43 +0000)]
Fix args processing of backgammon and teachgammon, closes pr 5345 by
David Brownlee.

26 years agoconstify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>)
hubertf [Mon, 14 Sep 1998 09:30:57 +0000 (09:30 +0000)]
constify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>)

26 years agoreturn error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>)
hubertf [Mon, 14 Sep 1998 09:29:08 +0000 (09:29 +0000)]
return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agoconstify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Mon, 14 Sep 1998 09:13:46 +0000 (09:13 +0000)]
constify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoremove x bit from save files (PR#6077)
hubertf [Sun, 13 Sep 1998 15:41:34 +0000 (15:41 +0000)]
remove x bit from save files (PR#6077)

26 years agoRemove unused function and mark non-returning ones(PR#6076, #6144 by Joseph Myers...
hubertf [Sun, 13 Sep 1998 15:31:07 +0000 (15:31 +0000)]
Remove unused function and mark non-returning ones(PR#6076, #6144 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agomark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
hubertf [Sun, 13 Sep 1998 15:27:25 +0000 (15:27 +0000)]
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agofix bug w/ negative numbers, mark non-returning functions (PR#6142+6144 by Joseph...
hubertf [Sun, 13 Sep 1998 15:24:57 +0000 (15:24 +0000)]
fix bug w/ negative numbers, mark non-returning functions (PR#6142+6144 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agoadd sanity checks when saving/restoring games (PR#6138 by Joseph Myers <jsm28@cam...
hubertf [Sun, 13 Sep 1998 15:24:41 +0000 (15:24 +0000)]
add sanity checks when saving/restoring games (PR#6138 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agocheck for malloc failures (PR#6136 by Joseph Myers <jsm28@cam.ac.uk>)
hubertf [Sun, 13 Sep 1998 15:24:09 +0000 (15:24 +0000)]
check for malloc failures (PR#6136 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agosome cleanups as per PR#6082 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Sun, 13 Sep 1998 15:23:40 +0000 (15:23 +0000)]
some cleanups as per PR#6082 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoremove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)
hubertf [Sun, 13 Sep 1998 15:22:57 +0000 (15:22 +0000)]
remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agoremove unused function return values (PR#6079 by Joseph Myers <jsm28@cam.ac.uk>)
hubertf [Sun, 13 Sep 1998 15:21:36 +0000 (15:21 +0000)]
remove unused function return values (PR#6079 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agoSaved games can NOT be restored by executing the save file (PR#6077)
hubertf [Sun, 13 Sep 1998 15:21:05 +0000 (15:21 +0000)]
Saved games can NOT be restored by executing the save file (PR#6077)

26 years agoReplace special handling of \r by using ICRNL (PR#6078 by Joseph Myers <jsm28@cam...
hubertf [Sun, 13 Sep 1998 15:20:31 +0000 (15:20 +0000)]
Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agoRemove unused function (PR#6076 by Joseph Myers <jsm28@cam.ac.uk>)
hubertf [Sun, 13 Sep 1998 15:19:35 +0000 (15:19 +0000)]
Remove unused function (PR#6076 by Joseph Myers <jsm28@cam.ac.uk>)

26 years agoMake dm ignore TZ; PR#6073 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Sun, 13 Sep 1998 12:34:43 +0000 (12:34 +0000)]
Make dm ignore TZ; PR#6073 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoconstify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Sun, 13 Sep 1998 00:07:24 +0000 (00:07 +0000)]
constify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoCorrect attribution as pointed out in pr 6114 by Jim Wise.
frueauf [Sat, 12 Sep 1998 22:49:12 +0000 (22:49 +0000)]
Correct attribution as pointed out in pr 6114 by Jim Wise.

26 years agoMake the helper programs compile right in a cross-compiling environment.
wrstuden [Sat, 12 Sep 1998 19:05:48 +0000 (19:05 +0000)]
Make the helper programs compile right in a cross-compiling environment.

26 years agoadd main() prototype
hubertf [Fri, 11 Sep 1998 14:51:18 +0000 (14:51 +0000)]
add main() prototype

26 years agofix prototype, PR#5867
hubertf [Fri, 11 Sep 1998 14:28:28 +0000 (14:28 +0000)]
fix prototype, PR#5867

26 years agouse symbolic constant for open(), PR#5867
hubertf [Fri, 11 Sep 1998 14:26:19 +0000 (14:26 +0000)]
use symbolic constant for open(), PR#5867

26 years agofix main() prototype, per PR#5867
hubertf [Fri, 11 Sep 1998 14:25:22 +0000 (14:25 +0000)]
fix main() prototype, per PR#5867

26 years agofix prototype, per PR#5867
hubertf [Fri, 11 Sep 1998 14:11:57 +0000 (14:11 +0000)]
fix prototype, per PR#5867

26 years agofix prototypes, per PR#5867
hubertf [Fri, 11 Sep 1998 14:09:27 +0000 (14:09 +0000)]
fix prototypes, per PR#5867

26 years agofix prototype of mon_sees(), per PR#5867
hubertf [Fri, 11 Sep 1998 14:07:51 +0000 (14:07 +0000)]
fix prototype of mon_sees(), per PR#5867

26 years agobe more precise for PI, as per PR5867
hubertf [Fri, 11 Sep 1998 14:07:04 +0000 (14:07 +0000)]
be more precise for PI, as per PR5867

26 years agouse symbolic constants for signals & open(2), as per PR#5867
hubertf [Fri, 11 Sep 1998 13:54:08 +0000 (13:54 +0000)]
use symbolic constants for signals & open(2), as per PR#5867

26 years agoremove unneeded typedef for TTYB, as per PR#5867
hubertf [Fri, 11 Sep 1998 13:46:30 +0000 (13:46 +0000)]
remove unneeded typedef for TTYB, as per PR#5867

26 years agofix main() prototype, as per PR#5867
hubertf [Fri, 11 Sep 1998 13:42:03 +0000 (13:42 +0000)]
fix main() prototype, as per PR#5867

26 years agofix main() prototype, as per PR#5867
hubertf [Fri, 11 Sep 1998 13:19:50 +0000 (13:19 +0000)]
fix main() prototype, as per PR#5867

26 years agoremove unused args from main(), as per PR#5867
hubertf [Fri, 11 Sep 1998 13:16:05 +0000 (13:16 +0000)]
remove unused args from main(), as per PR#5867

26 years agofix typo, as per PR#5867
hubertf [Fri, 11 Sep 1998 13:06:30 +0000 (13:06 +0000)]
fix typo, as per PR#5867

26 years agobetter define PI, plus improve prototype (PR#5867)
hubertf [Fri, 11 Sep 1998 12:53:28 +0000 (12:53 +0000)]
better define PI, plus improve prototype (PR#5867)

26 years agoremove main() prototype, as per PR 6867
hubertf [Fri, 11 Sep 1998 12:46:26 +0000 (12:46 +0000)]
remove main() prototype, as per PR 6867

26 years agoFix typo, closes pr 6137 by Joseph Myers.
frueauf [Thu, 10 Sep 1998 21:50:35 +0000 (21:50 +0000)]
Fix typo, closes pr 6137 by Joseph Myers.

26 years agoAdd braces to make the new egcs happy.
veego [Sun, 30 Aug 1998 09:19:36 +0000 (09:19 +0000)]
Add braces to make the new egcs happy.

26 years agoUse symbolic names for signals(!), open(2)-constants, ...
hubertf [Sat, 29 Aug 1998 22:53:03 +0000 (22:53 +0000)]
Use symbolic names for signals(!), open(2)-constants, ...
Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoUse symbolic constants for seek(), open(). Fixed as per PR 6057 by
hubertf [Sat, 29 Aug 1998 22:47:56 +0000 (22:47 +0000)]
Use symbolic constants for seek(), open(). Fixed as per PR 6057 by
Joseph Myers <jsm@octomino.demon.co.uk>.

26 years agoRemove unused function and unnecessary prototypes, as per PR 6050 by
hubertf [Sat, 29 Aug 1998 22:40:07 +0000 (22:40 +0000)]
Remove unused function and unnecessary prototypes, as per PR 6050 by
Joseph Myers <jsm28@cam.ac.uk>

26 years agoImproved signal handling as per PR 6051 by
hubertf [Sat, 29 Aug 1998 20:19:56 +0000 (20:19 +0000)]
Improved signal handling as per PR 6051 by
Joseph Myers <jsm@octomino.demon.co.uk>

26 years agoDTRT if "give" is invoked without arguments. Fix contributed by Joseph S.
hubertf [Sat, 29 Aug 1998 19:58:12 +0000 (19:58 +0000)]
DTRT if "give" is invoked without arguments. Fix contributed by Joseph S.
Myers <jsm28@cam.ac.uk>, closeds PR 6049.

26 years agoDon't allow empty "give" command (without arguments).
hubertf [Fri, 28 Aug 1998 00:44:31 +0000 (00:44 +0000)]
Don't allow empty "give" command (without arguments).
Fixes PR 6049 by Joseph Myers <jsm@octomino.demon.co.uk>.

26 years agoReplace some homegrown string-functions with standard-<string.h>-macros.
hubertf [Mon, 24 Aug 1998 22:26:23 +0000 (22:26 +0000)]
Replace some homegrown string-functions with standard-<string.h>-macros.
Reported by Joseph Myers <jsm28@cam.ac.uk> in PR 6028.

26 years agoKill unused parameters, per PR 6023 by Joseph Myers <jsm28@cam.ac.uk>.
hubertf [Mon, 24 Aug 1998 22:07:37 +0000 (22:07 +0000)]
Kill unused parameters, per PR 6023 by Joseph Myers <jsm28@cam.ac.uk>.

26 years agoUntakable objects are marked with NULL pointers, not empty strings,
hubertf [Mon, 24 Aug 1998 00:25:32 +0000 (00:25 +0000)]
Untakable objects are marked with NULL pointers, not empty strings,
resulting in core dumps. Fixed as per PR 6006 by Joseph Myers
<jsm28@cam.ac.uk>.

26 years agoPropperly note place-change, as reported in PR 6008 by Joseph Samuel Myers
hubertf [Mon, 24 Aug 1998 00:22:45 +0000 (00:22 +0000)]
Propperly note place-change, as reported in PR 6008 by Joseph Samuel Myers
<jsm28@cam.ac.uk>

26 years agoInitialize return-value correctly as pointed out in PR 6007 by
hubertf [Mon, 24 Aug 1998 00:19:25 +0000 (00:19 +0000)]
Initialize return-value correctly as pointed out in PR 6007 by
Joseph Myers <jsm@octomino.demon.co.uk>.

26 years agoAssign my copyrights to TNF.
mycroft [Sat, 15 Aug 1998 09:16:27 +0000 (09:16 +0000)]
Assign my copyrights to TNF.

26 years agobzero->memset
perry [Mon, 10 Aug 1998 02:23:45 +0000 (02:23 +0000)]
bzero->memset

26 years agoFind setup-program even w/ obj dirs.
hubertf [Sat, 1 Aug 1998 23:02:35 +0000 (23:02 +0000)]
Find setup-program even w/ obj dirs.

26 years agoAn airplane on a heading of 315, given instruction to turn
briggs [Tue, 28 Jul 1998 03:00:09 +0000 (03:00 +0000)]
An airplane on a heading of 315, given instruction to turn
right 45 degrees should turn to direction 0, not circle.

26 years agoAn airplane on a heading of 270, given instruction to turn
briggs [Tue, 28 Jul 1998 02:46:13 +0000 (02:46 +0000)]
An airplane on a heading of 270, given instruction to turn
right 90 degrees should turn to direction 0, not circle.

26 years agoconst poisoning.
mycroft [Mon, 27 Jul 1998 01:12:35 +0000 (01:12 +0000)]
const poisoning.

26 years agoconst poisoning.
mycroft [Sun, 26 Jul 1998 16:11:39 +0000 (16:11 +0000)]
const poisoning.

26 years agoFix some spelling errors reported by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Sat, 25 Jul 1998 10:58:03 +0000 (10:58 +0000)]
Fix some spelling errors reported by Joseph Myers <jsm28@cam.ac.uk>
in PR 5842.

26 years agoRename internal move() to move_ship(), as per PR 5841 by
hubertf [Sat, 25 Jul 1998 10:52:14 +0000 (10:52 +0000)]
Rename internal move() to move_ship(), as per PR 5841 by
Joseph Myers <jsm@octomino.demon.co.uk>.

26 years agoisleap expects years since Christ's birth, not the epoche)
hubertf [Sat, 25 Jul 1998 10:36:54 +0000 (10:36 +0000)]
isleap expects years since Christ's birth, not the epoche)
Closees PR 5833 by Joseph S. Myers <jsm28@cam.ac.uk>.

26 years agoA collision is adjacency in all, not any of, three dimensions.
briggs [Fri, 24 Jul 1998 23:36:59 +0000 (23:36 +0000)]
A collision is adjacency in all, not any of, three dimensions.

26 years agoFix for compiling with -DFANCY, as per PR 5832 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Fri, 24 Jul 1998 23:28:02 +0000 (23:28 +0000)]
Fix for compiling with -DFANCY, as per PR 5832 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoLog hostname, not OS - PR 5831 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Fri, 24 Jul 1998 23:22:26 +0000 (23:22 +0000)]
Log hostname, not OS - PR 5831 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoConsider leap years, as per PR 5830 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Fri, 24 Jul 1998 23:18:07 +0000 (23:18 +0000)]
Consider leap years, as per PR 5830 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoUpdate, from PR bin/5829 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Fri, 24 Jul 1998 23:13:25 +0000 (23:13 +0000)]
Update, from PR bin/5829 by Joseph Myers <jsm28@cam.ac.uk>

26 years agoAs per PR bin/5806 by Joseph Myers <jsm28@cam.ac.uk>/lash@tellabs.com:
hubertf [Tue, 21 Jul 1998 07:01:54 +0000 (07:01 +0000)]
As per PR bin/5806 by Joseph Myers <jsm28@cam.ac.uk>/lash@tellabs.com:
 - Init Random by time, not by pid
 - Fix lossage with fire-spitting, monster-killing dragons

26 years ago- use an array MAXHOSTNAMELEN+1 size to hold hostnames
mrg [Mon, 6 Jul 1998 06:56:06 +0000 (06:56 +0000)]
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames

26 years agominor KNF.
mrg [Sat, 4 Jul 1998 20:06:55 +0000 (20:06 +0000)]
minor KNF.

26 years agoAdded optional argument for calculating the phase of the moon for a specified
jeremy [Sat, 13 Jun 1998 01:09:22 +0000 (01:09 +0000)]
Added optional argument for calculating the phase of the moon for a specified
date, rather than the current time.

26 years agoImplement a new manual page category ``SECURITY CONSIDERATIONS''
lukem [Mon, 8 Jun 1998 12:41:41 +0000 (12:41 +0000)]
Implement a new manual page category ``SECURITY CONSIDERATIONS''
(suggested by mycroft)

26 years agoy.tab.h is now called grammar.h (and there's an implied .y.h rule now too)
tv [Wed, 13 May 1998 19:21:37 +0000 (19:21 +0000)]
y.tab.h is now called grammar.h (and there's an implied .y.h rule now too)
Noticed by veego.

26 years agofix bad .Xr references
fair [Wed, 29 Apr 1998 18:16:01 +0000 (18:16 +0000)]
fix bad .Xr references

26 years agofix bad mdoc reference & clean up a little
fair [Tue, 28 Apr 1998 18:34:12 +0000 (18:34 +0000)]
fix bad mdoc reference & clean up a little

26 years agoFix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z]
fair [Tue, 28 Apr 1998 07:19:28 +0000 (07:19 +0000)]
Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z]

26 years agoChange occurrences of "UNIX" to .Ux or .At as appropriate.
fair [Tue, 28 Apr 1998 06:00:51 +0000 (06:00 +0000)]
Change occurrences of "UNIX" to .Ux or .At as appropriate.

26 years agoPrincipally, change foo(N) to .Xr foo N
fair [Tue, 28 Apr 1998 04:07:04 +0000 (04:07 +0000)]
Principally, change foo(N) to .Xr foo N
Also, do some other mdoc tagging.

26 years agouse HOST_CPPFLAGS not HOST_CFLAGS
lukem [Mon, 13 Apr 1998 14:14:39 +0000 (14:14 +0000)]
use HOST_CPPFLAGS not HOST_CFLAGS

26 years ago.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
tv [Thu, 9 Apr 1998 00:32:31 +0000 (00:32 +0000)]
.y.c <sys.mk> rule fixes.  Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.

26 years agoadd missing extern to several variables.
mrg [Sun, 29 Mar 1998 04:57:19 +0000 (04:57 +0000)]
add missing extern to several variables.

26 years agoremove extern errno.
mrg [Sun, 29 Mar 1998 04:56:46 +0000 (04:56 +0000)]
remove extern errno.

26 years agochange static to static int
mrg [Sun, 29 Mar 1998 04:50:29 +0000 (04:50 +0000)]
change static to static int

26 years ago- really make extern char's extern.
mrg [Sun, 29 Mar 1998 04:46:40 +0000 (04:46 +0000)]
- really make extern char's extern.

26 years ago- don't use char as an array index
mrg [Sun, 29 Mar 1998 04:45:17 +0000 (04:45 +0000)]
- don't use char as an array index

26 years agoSimply include -lcurses instead of -lcurses -ltermcap
jtc [Wed, 18 Feb 1998 22:37:30 +0000 (22:37 +0000)]
Simply include -lcurses instead of -lcurses -ltermcap

26 years agofix typo; ryker@openbsd.org
mikel [Thu, 12 Feb 1998 08:07:49 +0000 (08:07 +0000)]
fix typo; ryker@openbsd.org

26 years agosome more presidents, via tsarna@endicor.com in PR 4957
hubertf [Mon, 9 Feb 1998 07:05:35 +0000 (07:05 +0000)]
some more presidents, via tsarna@endicor.com in PR 4957

26 years agoUse -ltermcap instead of -ltermlib
christos [Thu, 5 Feb 1998 12:25:48 +0000 (12:25 +0000)]
Use -ltermcap instead of -ltermlib

26 years agoUse -ltermcap instead of -ltermlib.
christos [Thu, 5 Feb 1998 12:24:31 +0000 (12:24 +0000)]
Use -ltermcap instead of -ltermlib.

26 years agoUse -ltermcap instead of -ltermlib
christos [Thu, 5 Feb 1998 12:15:51 +0000 (12:15 +0000)]
Use -ltermcap instead of -ltermlib

26 years agoRemove -lcompat; not needed.
christos [Wed, 4 Feb 1998 10:24:13 +0000 (10:24 +0000)]
Remove -lcompat; not needed.

26 years agoRemove -lcompat; not needed
christos [Wed, 4 Feb 1998 10:21:50 +0000 (10:21 +0000)]
Remove -lcompat; not needed

26 years agoRemove -lcompat; not needed.
christos [Wed, 4 Feb 1998 10:21:12 +0000 (10:21 +0000)]
Remove -lcompat; not needed.

26 years agoRemove -lcompat; not needed
christos [Wed, 4 Feb 1998 10:19:34 +0000 (10:19 +0000)]
Remove -lcompat; not needed

26 years agoAdd regexp support; remove -lcompat, use err*, warn*
christos [Wed, 4 Feb 1998 10:16:19 +0000 (10:16 +0000)]
Add regexp support; remove -lcompat, use err*, warn*

26 years ago4.4BSD -> .Bx 4.4
perry [Tue, 3 Feb 1998 20:45:00 +0000 (20:45 +0000)]
4.4BSD -> .Bx 4.4

26 years agochange includes to fix compiler warning
perry [Tue, 3 Feb 1998 04:55:59 +0000 (04:55 +0000)]
change includes to fix compiler warning