Commit Graph

133 Commits

Author SHA1 Message Date
fvdl
79cc88df48 Don't use NULL to compare against an int. 2003-10-21 00:16:55 +00:00
agc
eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
salo
99410184e7 netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
wiz
551b587f30 End sentence with a dot. 2003-06-27 13:17:02 +00:00
wiz
d43e332f1e setup -> set up. 2003-05-14 12:11:03 +00:00
wiz
472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
thorpej
4ba7375da3 Fix signed/unsigned comparison warnings, and shadow warnings. 2002-11-11 23:43:03 +00:00
wiz
28128e0592 New sentence, new line. From Robert Elz. 2002-10-01 19:03:15 +00:00
lukem
ebb6fc9eb8 Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)
2002-08-19 09:41:27 +00:00
soren
01bfb60de4 Refer to rcmd(3) instead of the non-existing krcmd(3).
PR lib/12562 by Klaus Klein.
2002-08-08 01:41:17 +00:00
ross
9856438e91 generate & symbolically 2002-02-07 09:24:04 +00:00
ross
814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
wiz
967a5d86a4 Sort SEE ALSO. 2002-01-15 02:39:29 +00:00
wiz
dfc3de691c Drop an unnecessary .Pp. 2002-01-15 02:39:08 +00:00
wiz
377f7d6eaa Punctuation nit, sort SEE ALSO. 2002-01-15 02:38:54 +00:00
wiz
e535868ef3 Punctuation nit. 2002-01-15 02:38:36 +00:00
wiz
401d0ed8ce Drop a trailing empty line. 2002-01-15 02:38:24 +00:00
lukem
11e3398883 WARNS=2 fixes 2001-11-05 14:59:21 +00:00
msaitoh
a5e4741a2f check LIBC_SCCS 2000-09-14 01:24:31 +00:00
itohy
f9863c47b3 Correct ctype(3) usage.
Passing "char" value is wrong.  Use "unsigned char" instead.
2000-07-11 06:07:25 +00:00
msaitoh
f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
mycroft
519baa3266 Build a PIC version of this -- but not yet a shlib, due to some obscure lossage
-- so that it can be linked into another shlib as needed.
2000-02-19 18:51:30 +00:00
lukem
d896261208 back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem
b48252f365 * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif
1999-09-16 11:44:54 +00:00
lukem
2c6c9ee64c sort includes 1999-09-16 09:57:06 +00:00
kleink
5a0d65cb6b Add missing regerror() prototype. 1999-08-22 13:06:47 +00:00
kleink
dc2dac7564 G/C the manual pages for getpw(3), vlimit(3) and vtimes(3). Although stated
in the manuals, these interfaces don't actually exist in libcompat and it isn't
likely that anyone needs nor actually implementents them; in fact,
<sys/vlimit.h> was removed recently.
1999-08-22 12:43:51 +00:00
tron
c3fd5ee212 Undo last commit. As pointed out by John Darrow on "regex.c" wasn't listed
twice in "SRCS", it were "regex.c" and "rexec.c".
1999-08-12 21:00:05 +00:00
lukem
dc501adfd5 why have regex.c twice in SRCS ? 1999-08-11 13:14:20 +00:00
simonb
1528b77539 More trailing white space. 1999-07-02 15:14:07 +00:00
mycroft
5ac207165b LP64 fixes. *sigh* 1999-05-09 12:28:15 +00:00
christos
07b45180bb Forgot to commit this.
delint: const castaway and cast to size_t
1999-05-06 17:09:31 +00:00
christos
d2c07ddc88 - widen prototypes
- fix portability with signed >>
- remove unreachable code
- add const castaways where appropriate
1999-05-04 17:15:51 +00:00
christos
1c494e5421 add /*ARGSUSED*/ 1999-05-04 17:14:54 +00:00
christos
3ecd1f9ce3 - KNF
- add NetBSD comment
- use warn instead of perror
- protect overflowing the stack on bad DNS records
- delint
1999-05-04 17:13:57 +00:00
christos
da0e4c24dc - add a comparison to NULL in a conditional.
- cast third argument of strn*() to size_t
- s/FALL THROUGH/FALLTHROUGH/
1999-05-04 17:12:21 +00:00
christos
3a4f700dae In lint redefine __compat_regerror to __compat43_regerror, to avoid clash
with the other __compat_regerror...
1999-05-04 17:11:01 +00:00
christos
bc6a12aaec De-constify the code, and add const castaway lint comments. 1999-05-04 17:10:10 +00:00
christos
d2cc1353b8 Cast to unsigned short to avoid loss of precision message. 1999-05-04 17:08:32 +00:00
garbled
38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +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
tv
5426fd2771 __RENAME() the libcompat regexp routines so they will not be used by
programs that want -lcompat but use POSIX regex.  Inspired by
<david@mono.org> in PR bin/1849.
1998-09-14 20:25:02 +00:00
lukem
ce83c69e00 first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
thorpej
7ba69add63 Add some braces to make egcs happy. 1998-08-19 00:17:41 +00:00
phil
177c3172ab Add the correct type for the first parameter. 1998-08-14 04:49:18 +00:00
perry
a843f0f8a5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:43:08 +00:00
mycroft
965a95625c Copy into a local buffer rather than using the getpw*() buffer. 1998-07-26 19:31:35 +00:00
mrg
32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00