Commit Graph

15 Commits

Author SHA1 Message Date
kleink 31f60ab101 No longer need internal names for strtoq() and strtouq(). 2000-03-08 20:17:19 +00:00
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
mycroft 9f5f4ac699 Make some needed weak aliases. 1999-08-17 03:58:39 +00:00
christos 33edc15a8c delint 1998-11-15 17:13:51 +00:00
mycroft a0326f2ee6 Nuke `register'. 1998-02-03 01:46:27 +00:00
mycroft 704290aaa1 Deal with GCC warning. 1998-02-03 01:40:49 +00:00
perry 5f8a6c06f3 update to lite-2 1998-01-30 23:37:40 +00:00
christos bd9067774f Add local.h for local prototypes.
Fix namespace issues for strtoq and strtouq
Fix gcc warnings.
Fix RCSID's
1997-07-13 20:16:31 +00:00
jtc 2d903c854c Changing type of "c" to unsigned did not fix the problem --- a signed
char is sign extended before it is assigned to an unsigned int.  This
fix, which has been tested with a different testcase, adds casts to
signed chars which results in proper behavior.
1996-07-20 01:03:54 +00:00
jtc 24de9e4a12 The argument to isfoo() must be representable as an unsigned char, so
type of "c" has been changed to unsigned.  This change allows these
functions will work with strings with their 8th bit set.
1996-07-11 01:47:38 +00:00
mycroft 9b62656910 Rearrange to avoid sign problems with GCC. 1995-12-21 03:56:06 +00:00
mycroft e0c0c4749d Minor cleanup. 1995-12-20 23:14:48 +00:00
mycroft 34dbfc64b6 Fix two compiler warnings. 1994-01-04 21:40:23 +00:00
jtc bfc2593ae5 Integrate strtoq() and strtouq() from bsd-sources on uunet. 1994-01-03 22:58:35 +00:00