summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/strtol.c
AgeCommit message (Collapse)Author
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
_DIAGASSERT() is still retained.
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
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
1998-11-15delintchristos
1998-02-03Nuke `register'.mycroft
1998-01-30update to lite-2perry
1997-07-13Add local.h for local prototypes.christos
Fix namespace issues for strtoq and strtouq Fix gcc warnings. Fix RCSID's
1996-07-20Changing type of "c" to unsigned did not fix the problem --- a signedjtc
char is sign extended before it is assigned to an unsigned int. This fix, which has been tested with a different testcase, adds explicit casts to unsigned char before the value of a character is copied.
1996-07-11The argument to isfoo() must be representable as an unsigned char, sojtc
type of "c" has been changed to unsigned. This change allows these functions will work with strings with their 8th bit set.
1995-12-28New-style RCS ids.thorpej
1995-12-21Rearrange to avoid sign problems with GCC.mycroft
1995-12-20Minor cleanup.mycroft
1993-08-26Declare rcsid strings so they are stored in text segment.jtc
1993-08-25Add cast to silence compiler warning.jtc
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd