Commit Graph

27 Commits

Author SHA1 Message Date
wiz f22f495d0a Use standard headers, drop a .Pp. 2001-12-01 19:08:56 +00:00
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
wiz 40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
wiz e4c86f49f9 Replace some .Xr to non-existing man pages with .Ic (since we don't
even have the matching programs).
2001-05-08 17:18:04 +00:00
christos e0475d14f3 fix redundant and nested decls 2001-02-05 01:44:07 +00:00
christos e9de7ed611 fix a multitude of core dumps because most functions were not checking
the length of the word list.
2000-11-15 19:54:43 +00:00
christos 6941b7e8a4 strcmp returns an int not a ptr so don't compare to NULL 2000-11-15 19:54:12 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
mjl ec1d133cd3 Eliminate hard coded buffer sizes in fgets() statements, use
strlcpy() to avoid buffer overflows, increase filename buffer
to MAXPATHLEN. (from OpenBSD)
2000-01-14 06:53:48 +00:00
kleink 513b25c0e9 For temporary files' pathnames, check $TMPDIR before falling back to _PATH_TMP. 1999-11-06 15:11:46 +00:00
christos 32d3ded9b3 Fix serious bug with string overruns that caused error to coredump randomly
on NetBSD, and each time on other OS's. Also 0 -> NULL or 0 -> '\0' where
appropriate.
1999-05-15 19:05:13 +00:00
sommerfeld fcfb860733 Don't assume isspace(0) == 1 1999-05-15 18:46:27 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos c3203395bd char -> unsigned char 1998-11-06 23:06:38 +00:00
wsanchez d2b96d3f77 Get rid of multiply defined common symbols
langauge should be language in error.h
1998-10-08 01:29:27 +00:00
mrg e37e81a273 remove unused extern. 1998-03-30 02:19:45 +00:00
mrg 66f7b9fd72 fix compile warnings on the alpha. 1997-10-19 14:05:56 +00:00
lukem 397a8a0855 WARNSify (big job!), fix .Nm usage 1997-10-18 14:44:21 +00:00
pk f6d87734a6 NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:40:47 +00:00
lukem 4e01c5d008 use mkstemp() instead of mktemp() 1997-03-22 03:42:57 +00:00
mikel 43d35f1fb2 fix typo; from Saitoh Masanobu in PR misc/3199. 1997-02-11 06:01:54 +00:00
christos 49a4e14351 Handle long lines without core-dumping. 1995-09-10 15:55:13 +00:00
jtc 71bb6dda25 Sync with 4.4lite2 1995-09-02 05:57:23 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd a6cd7e84d0 added, from net/2 (patch 119). 1993-04-09 12:58:06 +00:00