]> git.cameronkatri.com Git - bsdgames-darwin.git/log
bsdgames-darwin.git
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

26 years agoDoes not need -lcompat
christos [Mon, 2 Feb 1998 14:10:45 +0000 (14:10 +0000)]
Does not need -lcompat

27 years agoRCS Id Police.
perry [Fri, 9 Jan 1998 08:03:16 +0000 (08:03 +0000)]
RCS Id Police.

27 years agodon't clobber /var/games/robots_roll on install; from
mikel [Thu, 18 Dec 1997 05:56:18 +0000 (05:56 +0000)]
don't clobber /var/games/robots_roll on install; from
  NAKAJIMA Yoshihiro in PR bin/4657.

27 years agoWe need a FILESMODE=660 for dm which is now setgid games.
veego [Sat, 29 Nov 1997 19:32:30 +0000 (19:32 +0000)]
We need a FILESMODE=660 for dm which is now setgid games.

27 years agoWe need a FILESMODE=440 for dm which is now setgid games.
veego [Sat, 29 Nov 1997 19:31:51 +0000 (19:31 +0000)]
We need a FILESMODE=440 for dm which is now setgid games.

27 years agodon't clobber the score file!
mrg [Mon, 24 Nov 1997 01:47:26 +0000 (01:47 +0000)]
don't clobber the score file!

27 years agoinstall games files with the correct permissions.
mrg [Thu, 20 Nov 1997 08:52:16 +0000 (08:52 +0000)]
install games files with the correct permissions.

27 years agoinstall games that need it setgid.
mrg [Thu, 20 Nov 1997 00:12:30 +0000 (00:12 +0000)]
install games that need it setgid.

27 years agoremove an old setgid() from when dm(6) was setuid kmem (i assume for getloadavg())
mrg [Wed, 19 Nov 1997 08:24:09 +0000 (08:24 +0000)]
remove an old setgid() from when dm(6) was setuid kmem (i assume for getloadavg())

27 years agomake dm setgid games, rather than setuid games.
mrg [Wed, 19 Nov 1997 08:23:37 +0000 (08:23 +0000)]
make dm setgid games, rather than setuid games.

27 years agomake hidden games mode 550, group games.
mrg [Wed, 19 Nov 1997 08:23:16 +0000 (08:23 +0000)]
make hidden games mode 550, group games.

27 years agomove hunt under dm(6)
mrg [Wed, 19 Nov 1997 07:07:46 +0000 (07:07 +0000)]
move hunt under dm(6)

27 years agoPR/4489: Mika Nystroem: Security hole exec'ing more in fish instructions.
christos [Sun, 16 Nov 1997 21:41:53 +0000 (21:41 +0000)]
PR/4489: Mika Nystroem: Security hole exec'ing more in fish instructions.

27 years agoadd missing .Nm calls and MLINKS. from spz@serpens.swb.de
mrg [Wed, 12 Nov 1997 00:47:32 +0000 (00:47 +0000)]
add missing .Nm calls and MLINKS.  from spz@serpens.swb.de

27 years agoMust have the correct library link order to be able to link
ragge [Wed, 5 Nov 1997 12:12:32 +0000 (12:12 +0000)]
Must have the correct library link order to be able to link
the binaries static.

27 years agouse CPPFLAGS instead of CFLAGS
lukem [Sun, 26 Oct 1997 21:50:53 +0000 (21:50 +0000)]
use CPPFLAGS instead of CFLAGS

27 years agoFix time_t vs. long botch.
thorpej [Sat, 25 Oct 1997 01:40:47 +0000 (01:40 +0000)]
Fix time_t vs. long botch.

27 years agoInitialize pointers to NULL to avoid gcc/sparc compiler error
fair [Thu, 23 Oct 1997 07:05:55 +0000 (07:05 +0000)]
Initialize pointers to NULL to avoid gcc/sparc compiler error
hack.invent.c: In function `dolook':
hack.invent.c:800: warning: `otmp0' might be used uninitialized in this function
hack.invent.c:801: warning: `gold' might be used uninitialized in this function
(this is awfully tiresome - can't we fix gcc?)

27 years agouse CPPFLAGS instead of CFLAGS
lukem [Wed, 22 Oct 1997 05:26:25 +0000 (05:26 +0000)]
use CPPFLAGS instead of CFLAGS

27 years agouse CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile
lukem [Wed, 22 Oct 1997 05:24:11 +0000 (05:24 +0000)]
use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile

27 years agouse CPPFLAGS instead of CFLAGS
lukem [Wed, 22 Oct 1997 05:05:21 +0000 (05:05 +0000)]
use CPPFLAGS instead of CFLAGS

27 years agouse CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile
lukem [Wed, 22 Oct 1997 04:56:11 +0000 (04:56 +0000)]
use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile

27 years agouse CPPFLAGS instead of CFLAGS
lukem [Wed, 22 Oct 1997 04:42:45 +0000 (04:42 +0000)]
use CPPFLAGS instead of CFLAGS

27 years agouse CPPFLAGS instead of CFLAGS
lukem [Wed, 22 Oct 1997 02:31:35 +0000 (02:31 +0000)]
use CPPFLAGS instead of CFLAGS

27 years agouse CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile
lukem [Wed, 22 Oct 1997 02:01:17 +0000 (02:01 +0000)]
use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile

27 years agoFD_ZERO select mask before FD_SET-ing it
lukem [Mon, 20 Oct 1997 00:37:14 +0000 (00:37 +0000)]
FD_ZERO select mask before FD_SET-ing it

27 years agoUse S_IS*(), not S_IF*.
mycroft [Sun, 19 Oct 1997 17:54:18 +0000 (17:54 +0000)]
Use S_IS*(), not S_IF*.

27 years agoWARNsify...
christos [Sun, 19 Oct 1997 16:56:41 +0000 (16:56 +0000)]
WARNsify...

27 years agoTons of changes; re-indent, use termios, fix warnings, add prototypes...
christos [Sat, 18 Oct 1997 20:03:05 +0000 (20:03 +0000)]
Tons of changes; re-indent, use termios, fix warnings, add prototypes...
Games is almost clean; only hack is left...

27 years agofix race condition when building libcommon with make -j
lukem [Thu, 16 Oct 1997 05:24:23 +0000 (05:24 +0000)]
fix race condition when building libcommon with make -j

27 years agoBetter fix for the previous.
mycroft [Wed, 15 Oct 1997 12:43:35 +0000 (12:43 +0000)]
Better fix for the previous.

27 years agodrop core in /var/tmp (from linux).
mrg [Wed, 15 Oct 1997 12:02:08 +0000 (12:02 +0000)]
drop core in /var/tmp (from linux).

27 years agomake gcc happy on Sparc
is [Wed, 15 Oct 1997 09:27:06 +0000 (09:27 +0000)]
make gcc happy on Sparc

27 years agoMake compiler happy.
is [Wed, 15 Oct 1997 08:53:24 +0000 (08:53 +0000)]
Make compiler happy.

27 years agouse <termcap.h>
lukem [Tue, 14 Oct 1997 01:14:20 +0000 (01:14 +0000)]
use <termcap.h>

27 years agouse <termcap.h>
lukem [Tue, 14 Oct 1997 01:02:48 +0000 (01:02 +0000)]
use <termcap.h>

27 years agodefine global vars with `extern' in "back.h", and only define once in
lukem [Tue, 14 Oct 1997 00:53:26 +0000 (00:53 +0000)]
define global vars with `extern' in "back.h", and only define once in
init.c... backgammon works again...

27 years agouse <termcap.h>
lukem [Tue, 14 Oct 1997 00:41:15 +0000 (00:41 +0000)]
use <termcap.h>

27 years agoInclude string.h.
cjs [Mon, 13 Oct 1997 22:20:35 +0000 (22:20 +0000)]
Include string.h.

27 years agotime_t != long, again. *Sigh*.
cjs [Mon, 13 Oct 1997 22:18:32 +0000 (22:18 +0000)]
time_t != long, again. *Sigh*.

27 years agoSince we've got an int to store the value, why store it in a function
cjs [Mon, 13 Oct 1997 22:12:01 +0000 (22:12 +0000)]
Since we've got an int to store the value, why store it in a function
pointer and cast it?

27 years agoInclude string.h for memcpy().
cjs [Mon, 13 Oct 1997 22:05:26 +0000 (22:05 +0000)]
Include string.h for memcpy().

27 years ago#include <string.h>
cjs [Mon, 13 Oct 1997 22:01:54 +0000 (22:01 +0000)]
#include <string.h>

27 years agotime_t != long; cast it.
cjs [Mon, 13 Oct 1997 21:09:59 +0000 (21:09 +0000)]
time_t != long; cast it.

27 years agotime_t != long; fix minor type problem.
cjs [Mon, 13 Oct 1997 21:05:36 +0000 (21:05 +0000)]
time_t != long; fix minor type problem.

27 years ago- make sure that the arguments to the printf like functions are correct
christos [Mon, 13 Oct 1997 21:02:57 +0000 (21:02 +0000)]
- make sure that the arguments to the printf like functions are correct
- add a makemsg() function to accompany makesignal.

27 years agoWarns fixes:
christos [Mon, 13 Oct 1997 19:42:53 +0000 (19:42 +0000)]
Warns fixes:
use varargs properly
use unsigned chars where appropriate
fix typos
eliminate gcc warnings

27 years agouse <termcap.h> instead of <curses.h> for termcap(3) functions
lukem [Mon, 13 Oct 1997 16:13:39 +0000 (16:13 +0000)]
use <termcap.h> instead of <curses.h> for termcap(3) functions

27 years agoWARNSify, KNFify (inc. removing extremely verbose & useless comments), ...
lukem [Mon, 13 Oct 1997 02:18:06 +0000 (02:18 +0000)]
WARNSify, KNFify (inc. removing extremely verbose & useless comments), ...

27 years agoWarnsify and remove local implementations of libc functions.
christos [Sun, 12 Oct 1997 21:24:24 +0000 (21:24 +0000)]
Warnsify and remove local implementations of libc functions.

27 years agoWARNSify
christos [Sun, 12 Oct 1997 17:45:06 +0000 (17:45 +0000)]
WARNSify

27 years agoenable WARNS?=1 by default, & temporarily disable for the few unclean programs
lukem [Sun, 12 Oct 1997 14:21:44 +0000 (14:21 +0000)]
enable WARNS?=1 by default, & temporarily disable for the few unclean programs

27 years agogetopt returns -1 not EOF
lukem [Sun, 12 Oct 1997 14:19:17 +0000 (14:19 +0000)]
getopt returns -1 not EOF

27 years agodeprecate auto
lukem [Sun, 12 Oct 1997 14:17:27 +0000 (14:17 +0000)]
deprecate auto

27 years agodeprecate bzero, rindex, etc. use symbolic constants in open()
lukem [Sun, 12 Oct 1997 14:16:26 +0000 (14:16 +0000)]
deprecate bzero, rindex, etc. use symbolic constants in open()

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 14:09:55 +0000 (14:09 +0000)]
WARNSify

27 years agoWARNSify (not an insignificant task...)
lukem [Sun, 12 Oct 1997 11:45:01 +0000 (11:45 +0000)]
WARNSify (not an insignificant task...)

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 03:36:41 +0000 (03:36 +0000)]
WARNSify

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 02:12:45 +0000 (02:12 +0000)]
WARNSify

27 years agomissed a couple of clock->ourclock and time->ourtime variable renames
lukem [Sun, 12 Oct 1997 02:06:15 +0000 (02:06 +0000)]
missed a couple of clock->ourclock and time->ourtime variable renames

27 years agominor WARNSify
lukem [Sun, 12 Oct 1997 02:03:45 +0000 (02:03 +0000)]
minor WARNSify

27 years agoWARNSify, KNFify
lukem [Sun, 12 Oct 1997 01:49:24 +0000 (01:49 +0000)]
WARNSify, KNFify

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 01:04:43 +0000 (01:04 +0000)]
WARNSify

27 years agouse err/warn instead of perror
lukem [Sun, 12 Oct 1997 01:00:27 +0000 (01:00 +0000)]
use err/warn instead of perror

27 years agoWARNSify
lukem [Sun, 12 Oct 1997 00:53:45 +0000 (00:53 +0000)]
WARNSify

27 years agocommon_source -> common, and GC some garbage variables.
mycroft [Sat, 11 Oct 1997 20:24:05 +0000 (20:24 +0000)]
common_source -> common, and GC some garbage variables.

27 years agoDo the previous a little differently.
mycroft [Sat, 11 Oct 1997 20:22:10 +0000 (20:22 +0000)]
Do the previous a little differently.

27 years agoDon't install this library, we only need this during the build.
veego [Sat, 11 Oct 1997 19:56:42 +0000 (19:56 +0000)]
Don't install this library, we only need this during the build.

27 years agoOnly use SYMLINKS when PROG is defined.
veego [Sat, 11 Oct 1997 19:55:46 +0000 (19:55 +0000)]
Only use SYMLINKS when PROG is defined.

27 years agoUse bsd.subdir.mk as appropriate.
mycroft [Sat, 11 Oct 1997 09:34:07 +0000 (09:34 +0000)]
Use bsd.subdir.mk as appropriate.