dholland
2e221153bc
sprintf -> snprintf
2009-05-26 00:00:56 +00:00
dholland
951f1a50bf
attribute noreturn -> __dead
2009-05-25 23:48:32 +00:00
drochner
0fa7059102
define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160
2009-04-20 16:05:29 +00:00
drochner
432ec04420
if initscr() fails, exit with a message rather than crash in the
...
next curses call
2008-08-08 16:10:47 +00:00
lukem
2fe2731d3f
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 00:52:39 +00:00
dholland
d64494c758
Fix y2038 bug: time_t != int.
2008-01-31 05:19:44 +00:00
dholland
d4f48e67da
Make the default WARNS for games 4. The only game that needs to set WARNS
...
to anything else now is rogue, so clear WARNS from the other makefiles.
2008-01-28 07:03:58 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +00:00
wiz
40d5f88af4
s/exceded/exceeded/, from Zafer.
2006-11-24 21:14:55 +00:00
elad
444bc3c8be
Input validation, from David A. Holland on #NetBSD-code
2006-10-07 18:29:02 +00:00
jnemeth
4ce238c9c6
Increase username length to match modern systems, and create #defines for a
...
couple of lengths.
2006-06-07 09:36:39 +00:00
jnemeth
ca1e1e9c7c
Actually accept "?" argument as documented in the manpage.
...
Don't attempt to ignore an untrappable signal.
Fix 6 possible buffer overflows.
2006-06-07 09:35:03 +00:00
jnemeth
c8e9ec4ee2
Don't follow symlinks on systems that have O_NOFOLLOW.
...
Don't bother looping with lockf() since first iteration would return.
Prevent two buffer overflows.
2006-06-07 09:30:35 +00:00
jnemeth
c7bfb55e4e
prevent "stack" overflow
2006-06-07 09:24:26 +00:00
jnemeth
29088d6b12
bracket else block
2006-06-07 09:22:52 +00:00
jnemeth
f05caa1c39
WARNS=4
2006-06-07 09:21:06 +00:00
christos
93eceea780
Add missing parens.
2006-03-22 15:24:52 +00:00
christos
549b5ed9d1
Simplify (Masao Uebayashi)
2006-03-22 05:03:10 +00:00
christos
8b7bfd1f64
Coverity CID 692: Another && that should be ||. Boy...
2006-03-22 04:24:14 +00:00
christos
f09b76be8d
Coverity CID 1786: Close file.
2006-03-18 23:38:12 +00:00
wiz
d9f5a9df01
Use standard AUTHORS section header. From YOMURA Masanori in private mail
...
Sort sections if necessary. Use more/better markup.
2005-09-15 02:09:41 +00:00
rpaulo
07b524b43f
Added a missing '-' in score list output.
2005-08-10 19:21:21 +00:00
rpaulo
b0282a1ea0
Pass lint(1).
2005-08-10 17:53:28 +00:00
rpaulo
16a8e8c2e7
Enable WARNS=3.
2005-08-10 17:52:56 +00:00
rpaulo
279b6fba65
Fixed an output bug where a new-line was added due the usage of puts(3).
2005-08-10 16:10:51 +00:00
jmc
4931378a78
KNF and WARNS=3 fixes
2005-07-01 00:48:34 +00:00
jsm
b91a81ab9f
Cast last argument of execl to (char *).
...
Reviewed by <hubertf>.
2005-02-15 12:56:20 +00:00
jrf
190b2e4c51
Replaced strncpy with strlcpy. Thanks to Peter Postma who
...
pointed them our in PR #25762 . Approved by christos@NetBSD.org .
2004-09-07 13:20:39 +00:00
jsm
cb5fd8342e
Remove uses of __P.
2004-01-27 20:30:28 +00:00
wiz
c5920dd567
Bump date for previous. Remove superfluous .Pp.
2004-01-01 16:31:37 +00:00
jsm
618c8fad3d
Document that pressing return allows you to "fast forward" the game
...
clock. Patch from Peter Maydell <pmaydell@chiark.greenend.org.uk> in
Debian bug 216980.
2004-01-01 15:57:12 +00:00
agc
e5aeb4ea46
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
lukem
a93ea220fc
Rework how dependency generation is performed:
...
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
wiz
174b41a432
Use only one of -literal and -unfilled with Bd.
2003-06-26 10:04:37 +00:00
wiz
2418e1fb09
Grammar fixes, from jmc@openbsd.
2003-04-26 21:27:47 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
c91d8d6b9b
Lots of minor fixes resulting from reading these man pages in detail.
2002-09-26 18:31:58 +00:00
wiz
904b6b9402
Mdoc nits -- unneeded ".
2002-09-26 16:33:53 +00:00
wiz
0d22e30cd0
New sentences begin on new lines.
...
Patch from Richard Elz, slightly improved by yours truly.
2002-09-26 16:12:39 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
jsm
312e8e64e5
Include <time.h> for declarations the Single Unix Specification says
...
are there but not in <sys/time.h>.
2001-08-29 18:23:44 +00:00
wiz
3f9984fc90
existent', not
existant'
2001-06-19 13:42:07 +00:00
wiz
4abaa1bb50
No argument for .Os.
2001-06-05 11:11:07 +00:00
wiz
834bb1b3ab
Whitespace and/or punctuation fixes.
2001-04-02 22:42:37 +00:00
christos
a3807f8fed
fix redundant decls and nested externs
2001-02-05 00:22:52 +00:00
cgd
d594ce939b
comment or delete text after CPP directives.
2001-01-16 02:50:27 +00:00
lukem
51ea0cba47
remove unnecessary command name after .Nm
2000-11-07 05:51:54 +00:00
lukem
87567a7fcd
use lowercase with .Nm to match actual command name
2000-11-07 05:49:31 +00:00
jhawk
650c1aea1c
Correct descriptions of "marked" vs. "ignored" -- they were swapped.
2000-09-23 01:52:50 +00:00
mycroft
f9eca6973d
Use setgid(), not setregid().
2000-05-08 07:55:59 +00:00