]>
git.cameronkatri.com Git - bsdgames-darwin.git/log
kristerw [Sat, 24 Apr 1999 22:09:06 +0000 (22:09 +0000)]
Buffer overflow fix (from OpenBSD)
simonb [Sun, 18 Apr 1999 03:30:12 +0000 (03:30 +0000)]
initscr() returns a pointer, compare return value with NULL and not
an int.
Compatible with other versions of curses.
simonb [Sun, 18 Apr 1999 03:29:01 +0000 (03:29 +0000)]
Don't frob the interals of a WINDOW*, use the mvinch() macro.
cgd [Tue, 6 Apr 1999 04:54:19 +0000 (04:54 +0000)]
change:
.Sh "SEE ALSO"
to:
.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
abs [Mon, 5 Apr 1999 08:04:48 +0000 (08:04 +0000)]
s/SETUIDGAME/SETGIDGAME/ - catch up with the rest of the world.
mrg [Mon, 29 Mar 1999 05:12:39 +0000 (05:12 +0000)]
defined(attron) does not mean there is a <term.h>
hubertf [Thu, 25 Mar 1999 16:46:08 +0000 (16:46 +0000)]
Fix object recognition, per PR 6048 by Joseph S. Myers <jsm28@cam.ac.uk>.
garbled [Mon, 22 Mar 1999 18:43:46 +0000 (18:43 +0000)]
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
abs [Mon, 22 Mar 1999 06:12:23 +0000 (06:12 +0000)]
Newline and usage cosmetics from Soren S. Jorvang <soren@t.dk> PR7205
lukem [Sat, 13 Mar 1999 23:17:46 +0000 (23:17 +0000)]
set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
erh [Wed, 10 Mar 1999 09:29:08 +0000 (09:29 +0000)]
Fix .Bl/.El imbalance.
lukem [Sat, 13 Feb 1999 23:53:56 +0000 (23:53 +0000)]
remove NOPROG (nothing uses it). however, set MKOBJ=no if appropriate
lukem [Sat, 13 Feb 1999 02:54:17 +0000 (02:54 +0000)]
convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
simonb [Thu, 11 Feb 1999 02:34:24 +0000 (02:34 +0000)]
Remove unneeded "mips compiler bug" workaround from original code imported
in 1994.
hubertf [Wed, 10 Feb 1999 17:08:06 +0000 (17:08 +0000)]
tgetent() handles const correctly in current
hubertf [Wed, 10 Feb 1999 12:38:54 +0000 (12:38 +0000)]
Add __attribute__() to a variable. From PR 6557, after discussion with
Joseph S. Myers <jsm28@cam.ac.uk>
hubertf [Wed, 10 Feb 1999 12:29:47 +0000 (12:29 +0000)]
The patch below makes the game backgammon(6) use `const' where
appropriate. It also removes some obsolete, unused code to check the
number of users on the system (obsoleted by dm); removes a prototype
for an unused function that was removed earlier; and removes a control
character from one message that was I think intended to clear the
screen on some particular terminal (though I can't find the comment to
that effect in any of the BSD source trees I have handy) but no longer
serves any useful purpose.
From PR 6580 by Joseph Myers <jsm28@cam.ac.uk>.
Also contains two more patches, one in teachgammon/tutor.h (by Joseph)
and one in common_source/fancy.c (by me).
hubertf [Wed, 10 Feb 1999 01:44:34 +0000 (01:44 +0000)]
Only invoke pager given in $PAGER if output goes to a tty, feed pager
via stdin, per PR 6699 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Wed, 10 Feb 1999 01:36:50 +0000 (01:36 +0000)]
Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Wed, 10 Feb 1999 00:45:45 +0000 (00:45 +0000)]
The game sail(6) has a function Write() which is used both with
integer arguments and with string arguments (cast to long, and in one
place to int). The patch here cleans this up, making it into two
separate functions; this allows for the game to be made const-correct
in future and improves portability.
The patch also contains two other fragments: a change to use the
symbolic constant SEEK_END with fseek(), and a change to use snprintf
in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
hubertf [Wed, 10 Feb 1999 00:29:21 +0000 (00:29 +0000)]
The patch below does some minor cleanup of adventure(6): an additional
use of const I missed in bin/6041; avoiding a signed/unsigned warning;
marking an unused parameter as such; revoking setgid privileges
(including the saved gid) rather than setuid ones; includes and
function prototypes in setup.c; the string passed to err() should not
end with a `.'. Together with the patch sent concerning adventure's
EOF handling, this synchronises adventure(6) in NetBSD with the Linux
port of the NetBSD games.
Via PR 6557 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Wed, 10 Feb 1999 00:11:28 +0000 (00:11 +0000)]
The game adventure(6) handles EOF on standard input rather
ungracefully. The patch, derived from OpenBSD, improves this
handling.
Sent in in PR 6556 by Joseph Myers <jsm28@cam.ac.uk>.
hubertf [Sun, 3 Jan 1999 17:13:51 +0000 (17:13 +0000)]
only show preview if the -p option is given
hubertf [Sun, 3 Jan 1999 17:12:28 +0000 (17:12 +0000)]
document morse's decode option -d
hubertf [Sun, 3 Jan 1999 02:00:17 +0000 (02:00 +0000)]
Add previewing of next shape. Old (previous) behaviour can be
restored by compiling with NO_PREVIEW defined.
tron [Sat, 2 Jan 1999 15:47:55 +0000 (15:47 +0000)]
Remove obsolete header file. Fixes PR bin/6700 by Joseph S. Myers.
dbj [Sun, 6 Dec 1998 09:06:45 +0000 (09:06 +0000)]
tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.conf
but is not in the environment.
pk [Sat, 5 Dec 1998 21:09:23 +0000 (21:09 +0000)]
typo.
jwise [Fri, 20 Nov 1998 03:35:31 +0000 (03:35 +0000)]
Fix spelling of `Churchill' in 3 places
hubertf [Wed, 18 Nov 1998 14:22:32 +0000 (14:22 +0000)]
Add support for decoding of morse code.
hubertf [Wed, 18 Nov 1998 09:06:26 +0000 (09:06 +0000)]
fix usage
hubertf [Tue, 10 Nov 1998 13:43:30 +0000 (13:43 +0000)]
constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Tue, 10 Nov 1998 13:01:31 +0000 (13:01 +0000)]
constify, per PR 6148
hubertf [Mon, 9 Nov 1998 15:30:10 +0000 (15:30 +0000)]
make objdir-aware
lukem [Tue, 29 Sep 1998 07:33:20 +0000 (07:33 +0000)]
don't install in /usr/share if NOSHARE is defined
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.
hubertf [Mon, 14 Sep 1998 09:30:57 +0000 (09:30 +0000)]
constify (PR#6151, once more 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>)
hubertf [Mon, 14 Sep 1998 09:13:46 +0000 (09:13 +0000)]
constify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk>
hubertf [Sun, 13 Sep 1998 15:41:34 +0000 (15:41 +0000)]
remove x bit from save files (PR#6077)
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>)
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>)
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>)
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>)
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>)
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>
hubertf [Sun, 13 Sep 1998 15:22:57 +0000 (15:22 +0000)]
remove unused files (PR#6083 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>)
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)
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>)
hubertf [Sun, 13 Sep 1998 15:19:35 +0000 (15:19 +0000)]
Remove unused function (PR#6076 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>
hubertf [Sun, 13 Sep 1998 00:07:24 +0000 (00:07 +0000)]
constify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk>
frueauf [Sat, 12 Sep 1998 22:49:12 +0000 (22:49 +0000)]
Correct attribution as pointed out in pr 6114 by Jim Wise.
wrstuden [Sat, 12 Sep 1998 19:05:48 +0000 (19:05 +0000)]
Make the helper programs compile right in a cross-compiling environment.
hubertf [Fri, 11 Sep 1998 14:51:18 +0000 (14:51 +0000)]
add main() prototype
hubertf [Fri, 11 Sep 1998 14:28:28 +0000 (14:28 +0000)]
fix prototype, PR#5867
hubertf [Fri, 11 Sep 1998 14:26:19 +0000 (14:26 +0000)]
use symbolic constant for open(), PR#5867
hubertf [Fri, 11 Sep 1998 14:25:22 +0000 (14:25 +0000)]
fix main() prototype, per PR#5867
hubertf [Fri, 11 Sep 1998 14:11:57 +0000 (14:11 +0000)]
fix prototype, per PR#5867
hubertf [Fri, 11 Sep 1998 14:09:27 +0000 (14:09 +0000)]
fix prototypes, per PR#5867
hubertf [Fri, 11 Sep 1998 14:07:51 +0000 (14:07 +0000)]
fix prototype of mon_sees(), per PR#5867
hubertf [Fri, 11 Sep 1998 14:07:04 +0000 (14:07 +0000)]
be more precise for PI, as per PR5867
hubertf [Fri, 11 Sep 1998 13:54:08 +0000 (13:54 +0000)]
use symbolic constants for signals & open(2), 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
hubertf [Fri, 11 Sep 1998 13:42:03 +0000 (13:42 +0000)]
fix 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
hubertf [Fri, 11 Sep 1998 13:16:05 +0000 (13:16 +0000)]
remove unused args from main(), as per PR#5867
hubertf [Fri, 11 Sep 1998 13:06:30 +0000 (13:06 +0000)]
fix typo, as per PR#5867
hubertf [Fri, 11 Sep 1998 12:53:28 +0000 (12:53 +0000)]
better define PI, plus improve prototype (PR#5867)
hubertf [Fri, 11 Sep 1998 12:46:26 +0000 (12:46 +0000)]
remove main() prototype, as per PR 6867
frueauf [Thu, 10 Sep 1998 21:50:35 +0000 (21:50 +0000)]
Fix typo, closes pr 6137 by Joseph Myers.
veego [Sun, 30 Aug 1998 09:19:36 +0000 (09:19 +0000)]
Add braces to make the new egcs happy.
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>
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>.
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>
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>
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.
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>.
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.
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>.
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>.
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>
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>.
mycroft [Sat, 15 Aug 1998 09:16:27 +0000 (09:16 +0000)]
Assign my copyrights to TNF.
perry [Mon, 10 Aug 1998 02:23:45 +0000 (02:23 +0000)]
bzero->memset
hubertf [Sat, 1 Aug 1998 23:02:35 +0000 (23:02 +0000)]
Find setup-program even w/ obj dirs.
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.
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.
mycroft [Mon, 27 Jul 1998 01:12:35 +0000 (01:12 +0000)]
const poisoning.
mycroft [Sun, 26 Jul 1998 16:11:39 +0000 (16:11 +0000)]
const poisoning.
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.
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>.
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>.
briggs [Fri, 24 Jul 1998 23:36:59 +0000 (23:36 +0000)]
A collision is adjacency in all, not any of, three dimensions.
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>
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>
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>
hubertf [Fri, 24 Jul 1998 23:13:25 +0000 (23:13 +0000)]
Update, from PR bin/5829 by Joseph Myers <jsm28@cam.ac.uk>
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