dholland
7a2ed76402
sprinkle static
2009-08-12 04:48:03 +00:00
dholland
2e221153bc
sprintf -> snprintf
2009-05-26 00:00:56 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +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
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
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
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
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
cgd
d594ce939b
comment or delete text after CPP directives.
2001-01-16 02:50:27 +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
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
a9d35e8322
constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>
1998-11-10 13:43:30 +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
lukem
36b47bd3b7
use warn instead of perror/fprintf/...
1997-10-11 02:01:02 +00:00
lukem
ca57cf90de
WARNSify
1997-10-10 02:07:01 +00:00
tls
af1ee80179
bfunctions -> memfunctions
1997-01-13 06:50:25 +00:00
cgd
101657d110
clean up import
1995-03-21 15:03:38 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00