Commit Graph

13 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
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
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
perry
a843f0f8a5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:43:08 +00:00
tv
64288566a1 FTP uses ruserpass() differently from that in libcompat. Fix rexec to
recognize that the new ruserpass returns an int (but ignore it for now),
and ruserpass does not accept an acct pointer.
1998-03-19 18:06:15 +00:00
lukem
e37aec676a rcsid facism, WARNSify 1997-10-09 10:20:07 +00:00
mrg
9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
pk
dde1c1a0be Prototypes (PR#1098). 1995-06-05 19:42:16 +00:00
mycroft
89ef25dac6 Fill in sin_len. 1995-06-03 22:03:51 +00:00
cgd
73de321a73 needs string.h 1994-10-19 03:01:39 +00:00
cgd
74c187c292 update 1994-05-06 06:25:33 +00:00