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
hubertf
d5f85ed9c9
The patch below improves the security of the game atc(6), by having it
...
open the score file at the start and then drop all setgid privileges
while keeping a (close-on-exec) file descriptor open to it. In order
to allow this the static data files have to be made world readable.
In addition a potential buffer overrun with corrupted score files is
avoided by more careful use of scanf (note that SCORE_SCANF_FMT is
defined alongside the definition of the relevant structure).
Submitted in PR 8015 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-17 19:57:03 +00:00
hubertf
fbaff02b26
Add two .Els that nroff was complaining to miss.
1999-07-17 19:48:40 +00:00
sommerfeld
3365b567da
man page rewritten into -mandoc by dholland@eecs.harvard.edu; from PR7861
1999-06-27 04:35:42 +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
hubertf
a9d35e8322
constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
1998-11-10 13:43:30 +00:00
lukem
b569ddabe9
don't install in /usr/share if NOSHARE is defined
1998-09-29 07:33:20 +00:00
hubertf
1c9494f62b
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
1998-09-13 15:27:25 +00:00
hubertf
f92ae4adb5
remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)
1998-09-13 15:22:57 +00:00
hubertf
0056c879de
Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers <jsm28@cam.ac.uk>)
1998-09-13 15:20:31 +00:00
hubertf
4ccf0d9755
better define PI, plus improve prototype (PR#5867)
1998-09-11 12:53:28 +00:00
briggs
b9bce75593
An airplane on a heading of 315, given instruction to turn
...
right 45 degrees should turn to direction 0, not circle.
1998-07-28 03:00:09 +00:00
briggs
2e7f98d7b4
An airplane on a heading of 270, given instruction to turn
...
right 90 degrees should turn to direction 0, not circle.
1998-07-28 02:46:13 +00:00
briggs
5aece1f890
A collision is adjacency in all, not any of, three dimensions.
1998-07-24 23:36:59 +00:00
hubertf
b349bd8369
Log hostname, not OS - PR 5831 by Joseph Myers <jsm28@cam.ac.uk>
1998-07-24 23:22:26 +00:00
tv
58d9481691
y.tab.h is now called grammar.h (and there's an implied .y.h rule now too)
...
Noticed by veego.
1998-05-13 19:21:37 +00:00
tv
482063559a
.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.
1998-04-09 00:32:31 +00:00
mrg
ad345e6c1b
- don't use char as an array index
1998-03-29 04:45:17 +00:00