Commit Graph

14 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
4a47153ca9 Use posix signal system calls.
XXX: Library functions should not unblock signals like this!
1998-09-27 00:00:16 +00:00
perry
a843f0f8a5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:43:08 +00:00
kleink
1550a56403 Delint last. 1998-05-09 20:59:29 +00:00
kleink
687ea7404c Fix some arithmetics lossage on typeless pointers. 1998-05-08 16:55:15 +00:00
perry
b613a27fa7 unregisterify 1998-01-22 15:29:13 +00:00
mikel
adf5a16deb indicate new location in error message 1997-07-01 06:10:53 +00:00
christos
f5646a08d4 - RCSID police
- Add ttymsg.3
1997-06-29 18:44:03 +00:00
mrg
23768a9e9a remove possibly dangerous sprintf and strcpy calls. 1997-02-11 08:42:03 +00:00
jtc
a8bfd3d17a Merged with 4.4lite
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 07:17:53 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00