Commit Graph

125 Commits

Author SHA1 Message Date
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
kleink 695ad15b90 Need <re_comp.h> for re_comp() and re_exec() prototypes. 1998-06-01 20:22:58 +00:00
kleink e127c74140 Prototypes have moved: change inclusion of <unistd.h> to <re_comp.h>. 1998-06-01 20:22:01 +00:00
fair 42aff08cb4 fix a bad .Xr 1998-04-29 19:25:25 +00:00
fair 6b57aa9fdc fix mdoc references 1998-04-28 23:03:56 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
tv 64288566a1 FTP uses ruserpass() differently from that in libcompat. Fix rexec to
recognize that the new ruserpass returns an int (but ignore it for now),
and ruserpass does not accept an acct pointer.
1998-03-19 18:06:15 +00:00
tv bceb6b5729 Add a ruserpass() function to make rexec happy. PR 901 (that's not a typo). 1998-03-19 17:51:04 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00