History log of /src/lib/libc/stdlib/strtol.c |
Revision | | Date | Author | Comments |
1.18 |
| 20-Aug-2008 |
joerg | branches: 1.18.6; Unify the implementation of strto{l,ul,ll,ull,imax,umax,q,uq} into one 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@
|
1.17 |
| 29-Nov-2005 |
christos | branches: 1.17.20; WARNS=4
|
1.16 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
1.15 |
| 20-Sep-1999 |
lukem | back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
|
1.14 |
| 16-Sep-1999 |
lukem | * 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
|
1.13 |
| 15-Nov-1998 |
christos | delint
|
1.12 |
| 03-Feb-1998 |
mycroft | Nuke `register'.
|
1.11 |
| 30-Jan-1998 |
perry | update to lite-2
|
1.10 |
| 13-Jul-1997 |
christos | Add local.h for local prototypes. Fix namespace issues for strtoq and strtouq Fix gcc warnings. Fix RCSID's
|
1.9 |
| 20-Jul-1996 |
jtc | 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 explicit casts to unsigned char before the value of a character is copied.
|
1.8 |
| 11-Jul-1996 |
jtc | 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.
|
1.7 |
| 28-Dec-1995 |
thorpej | branches: 1.7.4; New-style RCS ids.
|
1.6 |
| 21-Dec-1995 |
mycroft | Rearrange to avoid sign problems with GCC.
|
1.5 |
| 20-Dec-1995 |
mycroft | Minor cleanup.
|
1.4 |
| 26-Aug-1993 |
jtc | Declare rcsid strings so they are stored in text segment.
|
1.3 |
| 25-Aug-1993 |
jtc | Add cast to silence compiler warning.
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 30-Jan-1998 |
perry | import lite-2
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.7.4.2 |
| 20-Jul-1996 |
jtc | Pulled up from rev 1.9
|
1.7.4.1 |
| 11-Jul-1996 |
jtc | Pulled up from rev 1.8
|
1.17.20.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.18.6.2 |
| 20-Aug-2008 |
joerg | Unify the implementation of strto{l,ul,ll,ull,imax,umax,q,uq} into one 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@
|
1.18.6.1 |
| 20-Aug-2008 |
joerg | file strtol.c was added on branch christos-time_t on 2008-08-20 12:42:27 +0000
|