wiz
4c99916337
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.
2001-09-24 13:22:25 +00:00
christos
a0d324ea8d
- rename getchar to lgetchar to avoid conflicts with the stdio getchar
...
- fix redundant decls and nested externs
- use snprintf instead of sprintf
2001-02-05 00:57:32 +00:00
lukem
51ea0cba47
remove unnecessary command name after .Nm
2000-11-07 05:51:54 +00:00
matt
3233065035
More include additions for exit, abs, strcmp, etc.
2000-07-03 03:57:39 +00:00
blymn
51164fe56a
Fix coredump on start.
2000-05-24 14:20:29 +00:00
blymn
494e4c93a6
Converted games to use the new termcap interface.
2000-05-22 12:42:46 +00:00
lukem
88d3d7c59e
update after change to return value of tputs() third argument
1999-10-04 23:26:59 +00:00
erh
55f3a4b91b
Fix .Bl/.El imbalance.
1999-03-10 09:29:08 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem
b569ddabe9
don't install in /usr/share if NOSHARE is defined
1998-09-29 07:33:20 +00:00
veego
04afeca685
Add braces to make the new egcs happy.
1998-08-30 09:19:36 +00:00
mycroft
a6bb9f4ef1
const poisoning.
1998-07-27 01:12:35 +00:00
mikel
f160a96172
fix typo; ryker@openbsd.org
1998-02-12 08:07:49 +00:00
mrg
6074e1b476
install games that need it setgid.
1997-11-20 00:12:30 +00:00
thorpej
c356cad88d
Fix time_t vs. long botch.
1997-10-25 01:40:47 +00:00
lukem
10d5d0d9ce
use CPPFLAGS instead of CFLAGS
1997-10-22 05:26:25 +00:00
christos
a8fba37dbd
Tons of changes; re-indent, use termios, fix warnings, add prototypes...
...
Games is almost clean; only hack is left...
1997-10-18 20:03:05 +00:00
lukem
4877bdbb3b
enable WARNS?=1 by default, & temporarily disable for the few unclean programs
1997-10-12 14:21:44 +00:00
christos
ab8561ee9a
gtime -> gltime to avoid conflict in time.h
1997-07-13 20:21:32 +00:00
pk
58efb9d20c
NULL => 0 (Arne Juul; PR#3629)
1997-05-17 19:24:44 +00:00
thorpej
365ece4e6a
Make these compile on the PowerPC (an unsigned char system).
1997-03-29 20:42:16 +00:00
christos
d59123b39b
- Makefile cleanups
1997-03-24 22:15:37 +00:00
tls
34cd8f5bdf
Sync to 4.4BSD-Lite2
1997-01-07 11:56:32 +00:00
thorpej
943e25b8bf
Use ${INSTALL}.
1996-10-18 02:48:24 +00:00
jtc
9df6319a29
merge in 1.2 branch
1996-10-09 00:40:33 +00:00
mrg
1ab419ba00
call seteuid() before append/create. from kstailey (PR#2699)
1996-08-15 03:53:48 +00:00
mrg
5f71cbd03d
print more informative error message. from kstailey (PR#2699)
1996-08-15 03:53:24 +00:00
mrg
be7efc5cc0
oops, we do need privs. do the right seteuid() thing.
1996-05-22 00:36:04 +00:00
mrg
8b1cbb014b
move the ) to after the 3rd arg to open. weeeeee!
1996-05-22 00:34:35 +00:00
mrg
69b69dcffc
give up "games" if we have it. larn does not need it.
1996-05-21 23:19:20 +00:00
mycroft
6840a32483
Clean this up a bit.
1995-12-21 11:27:51 +00:00
mycroft
079d9a1d8e
Use usleep().
1995-04-27 22:15:28 +00:00
cgd
c4816c32b3
Various changes to make games compile w/o warnings on the alpha:
...
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
1995-04-24 12:21:37 +00:00
cgd
174311e268
clean up handling of fortunes a bit.
1995-04-22 07:34:00 +00:00
cgd
42fb1b9d4a
merge with Lite, new RCS id conventions, etc.
1995-03-23 08:28:00 +00:00
cgd
bd51185a18
from Lite
1995-03-21 15:59:39 +00:00
cgd
c4c01d75b2
specify man pages the new way.
1994-12-22 09:31:26 +00:00
mycroft
da84ee5833
Fix typo in the name of the important potion.
1994-10-23 05:21:43 +00:00
mycroft
9c6e9d0494
Fix various problems with the potion/scroll name hiding mechanism.
1994-10-21 21:26:08 +00:00
mycroft
8f47eaff72
Fix various problems with the potion/scroll name hiding mechanism.
1994-10-21 21:26:06 +00:00
mycroft
586252e3e1
Move the playerids file to /var/games, as suggest by Rafal Boni.
1994-09-18 00:21:38 +00:00
cgd
a218d38dc2
need -lcompat
1994-05-23 05:32:40 +00:00
mycroft
210cab4541
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:18:41 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
mycroft
b1bd4afedc
Add RCS indentifiers.
1993-08-01 07:42:49 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00
mycroft
1812390e23
Don't modify string constants.
1993-04-20 22:00:26 +00:00
cgd
e76b286f06
make sure directory to install stuff exists before installing
1993-04-09 09:38:08 +00:00
cgd
f620d7d9f6
got rid of unnecessary -lcompat and associated dependency
1993-03-23 02:44:38 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00