Commit Graph

10 Commits

Author SHA1 Message Date
mycroft c6a0f46b4f Delint. 2000-01-22 22:53:59 +00:00
kleink ba7f64cc15 Revert previous change: the assertion
* is made in a utility function with file scope only, and
* will never fail.
1999-09-17 09:18:15 +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 9ed746aaf1 Cast things to (digit) where the LHS is (digit) to avoid loss of precision
lint warnings. This change should be harmless.
1999-05-03 15:38:41 +00:00
perry 4146d58604 remove obsolete register declarations 1998-02-03 18:23:37 +00:00
christos 2531ab66a8 Fix RCSID's 1997-07-13 20:01:39 +00:00
cgd d48964d413 clean up Ids; no substantive changes. 1995-02-27 17:29:31 +00:00
cgd 966e78191e pull in changes from libkern. 1995-01-06 00:45:20 +00:00
cgd 3e853c8028 constants are normally ints, remember! 1994-10-19 03:09:47 +00:00
mycroft 49e0bc5446 Torek's quad stuff from 4.4. 1993-09-16 06:05:46 +00:00