| Age | Commit message (Collapse) | Author |
|
|
|
version for signed and one version for unsigned data types.
Add a check for supported bases and set errno (userland) or panic
(kernel, libsa) otherwise.
Make strto{ll,ull,imax,umax} normal symbols and just keep the underscore
versions as strong alias.
Obtained from DragonFly, based on the wide char version from Citrus.
Reviewed by christos@
|
|
|
|
Patches provided by Joel Baker in PR 22280, verified by myself.
|
|
|
|
an arm32 compiler bug. Change the comment in strtouq.c to reflect the current
usage of the hack.
|
|
|
|
_DIAGASSERT() is still retained.
|
|
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
|
|
|
|
|
|
|
|
|
|
Fix namespace issues for strtoq and strtouq
Fix gcc warnings.
Fix RCSID's
|
|
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.
|
|
type of "c" has been changed to unsigned. This change allows these
functions will work with strings with their 8th bit set.
|
|
|
|
|
|
|
|
|