Commit Graph

146 Commits

Author SHA1 Message Date
christos 53fcf0e8fd Don't provide 2 versions of __compat_regerror() (the other one comes
from 4.3/regex.c via symbol renaming). Anyway this one did nada, so
no great loss :-)
2013-02-07 20:15:07 +00:00
matt 572e1c8587 These directories don't handle WARNS=5 2012-03-21 10:08:30 +00:00
joerg 3c70878e9a Use .In instead of .Ar Pa for headers. 2010-03-22 21:55:06 +00:00
mrg 4e60bef737 convert -idirafter to -isystem, as recommended by cgd in PR 11843.
most of the list in that PR were already done.
2010-03-22 01:29:29 +00:00
abs 515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
apb 7318d748c1 Mention the word "regexp" and the fact that this inteface is obsolete
in the NAME section.

Previously, "man -k regex" printed the following two lines
with no hint that you needed to do "man 3 regexp" to get to
the man page associated with the first of the two lines:

regcomp, regexec, regsub, regerror (3) - regular expression handlers
regex, regcomp, regexec, regerror, regfree (3) - regular-expression library
2008-09-08 22:14:11 +00:00
freza 592d6d615c Fix MKDEBUGLIB build. 2007-02-16 16:34:17 +00:00
christos f5804cdea3 make sure p is initialized. 2006-04-08 22:05:36 +00:00
christos d2bf424ee0 remove bogus declaration. 2006-04-08 21:33:09 +00:00
drochner e866f2794b Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
2005-07-06 14:43:24 +00:00
lukem a767f5ec9c getpw*_r() may return 0 and set pwd==NULL 2005-04-19 03:38:08 +00:00
christos fffc26d436 Use getpwuid_r, KNF. From John Nemeth, many thanks. 2005-04-01 12:51:07 +00:00
lukem 1f560b89c0 Append to AFLAGS rather than setting AINC. 2004-04-18 04:26:15 +00:00
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