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
jsm
ce5670f70f
Fix uses of namespaces reserved by ISO C or POSIX.1.
1999-09-30 18:01:31 +00:00
jsm
68603a9d0e
Compare getchar() against EOF, not -1.
1999-09-10 00:16:43 +00:00
hubertf
d8b3f85961
In atc(6), the function getAChar() has BSD and SYSV variants to deal
...
with variations in EINTR behaviour, but the optimisation of using the
BSD version where the SYSV version isn't needed is insignificant.
This patch therefore simplifies the code by making there be just one
version, a more paranoid (about EOF when errno is already EINTR)
version of the SYSV code. Since the BSD/SYSV defines are mainly used
to control whether BSD timers are used, this helps where BSD timers
but SYSV EINTR handling are wanted.
Patch supplied in PR 8091 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-28 02:01:30 +00:00
hubertf
6ec2bcb1c2
Remove empty functin check_adir() and references to it.
1999-07-26 21:14:21 +00:00
hubertf
03fc787fb7
This patch marks unused parameters in atc(6) as such.
...
Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-25 00:24:38 +00:00
hubertf
5cfc1e8dc6
This patch makes atc(6) check for memory allocation failure.
...
Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8056,
with small enhancement to make clearer when loser() is called
with NULL.
1999-07-24 23:58:15 +00:00
mjl
c5a4ae7a2a
Use getopt instead of home grown command line parsing.
...
Patch from Joseph Myers <jsm28@cam.ac.uk> in PR/8062.
1999-07-24 15:50:44 +00:00
hubertf
6cc6041b97
When atc(6) parses its game definition files, the check for `width'
...
being defined more than once incorrectly checks for `height' having
been previously defined instead.
Patch submitted in PR 8038 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-21 13:10:47 +00:00