Commit Graph

9 Commits

Author SHA1 Message Date
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
simonb 6bf3aa19f9 More trailing white space. 1999-07-02 15:46:05 +00:00
christos 983a6b1f22 Delint 1998-12-09 14:35:02 +00:00
lukem 40d4d52cce * add extra arg to fparseln() - int flags - which is a bitmask.
current flags allow the `un-escaping' of escaped arguments (i.e,
  don't prefix an escaped argument with the escape char)
* other minor cleanups
1997-12-01 02:58:40 +00:00
lukem 253f2b2928 * return on empty lines (with len = 0, and a pointer to an empty string),
rather than parsing until non-blank lines. some callers may want to
  know when a blank line occurs. fix confirmed with christos.
* enhance test code (which is commented out by default) to use len and
  lineno parameters
1997-11-24 13:05:38 +00:00
enami 6940412e60 Fix typo; update `buf' by return value from realloc(3). 1997-11-18 06:44:51 +00:00
christos 2d0fe6e822 tyop 1997-11-16 22:19:54 +00:00
christos d0d7e22dc8 PR/4475: Jason R. Thorpe: there is no common function to parse a continued
line.
1997-11-16 22:15:54 +00:00