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
983a6b1f22 Delint 1998-12-09 14:35:02 +00:00
perry
b613a27fa7 unregisterify 1998-01-22 15:29:13 +00:00
perry
5e3388b0bf merge with lite-2 1998-01-22 15:23:05 +00:00
christos
f5646a08d4 - RCSID police
- Add ttymsg.3
1997-06-29 18:44:03 +00:00
mycroft
7cc5f9cd7a Make openpty() work more than once. 1996-11-12 16:39:38 +00:00
jtc
e42a94845a Minor reorganization of libutil, including the addition of passward
locking and editing functions.
From Greg Hudson <ghudson@MIT.EDU>
1996-05-15 21:42:23 +00:00
pk
8347998a01 Prototypes (PR#1100). 1995-06-05 19:43:53 +00:00
cgd
3a724adbf7 minor cleanup; kill unnecessary casts 1994-05-04 10:55:57 +00:00
andrew
fc3e00430e Support up to 256 ptys. 1994-04-06 08:54:35 +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