Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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
kleink 695ad15b90 Need <re_comp.h> for re_comp() and re_exec() prototypes. 1998-06-01 20:22:58 +00:00
lukem e37aec676a rcsid facism, WARNSify 1997-10-09 10:20:07 +00:00
jtc fd08cf75d8 Handle null string in re_comp.
From Kazushi Jam Marukawa <kazusi-m@is.aist-nara.ac.jp> in PR 2196.
1996-03-21 03:11:13 +00:00
pk dde1c1a0be Prototypes (PR#1098). 1995-06-05 19:42:16 +00:00
jtc ec22bca1e7 Since V8 regex routines have been moved to libcompat(), the BSD regex
routines must again be defined as wrappers around them.
1994-02-01 17:45:53 +00:00
jtc c52b10cc29 Layer re_comp() and re_exec() on top of the POSIX regular expression
routines, as the V8 regexp routines have been removed.
1993-11-11 01:24:50 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
nate 9e98d4b874 From BSDI Mailing list. regex.c uses the regcomp routines to emulate
the regex routines.
1993-03-23 10:49:38 +00:00