History log of /src/common/lib/libc/stdlib/_strtol.h |
Revision | | Date | Author | Comments |
1.11 |
| 06-Jul-2017 |
joerg | branches: 1.11.6; Fix ISO C compliance: strtol of "0xX" should give the largest valid numeric prefix, which is 0.
|
1.10 |
| 13-Nov-2015 |
christos | branches: 1.10.8; comment out 0{b,B} handling.
|
1.9 |
| 12-Nov-2015 |
christos | Fix capitalization
|
1.8 |
| 12-Nov-2015 |
christos | Recognize 0[bB] as binary (base 2)
|
1.7 |
| 17-May-2013 |
joerg | branches: 1.7.6; Provide explicit LC_C_LOCALE accessor and drop the various NULL checks. Provide LC_GLOBAL_LOCALE in a way that works with all locale functions. Merge constant data used by the initial global locale and the C locale. Drop function call layer for _current_locale() and directly return the locale reference, not a pointer to it. Use protected access for global variables, so that libc references can avoid the GOT overhead.
|
1.6 |
| 26-Apr-2013 |
joerg | Restore standalone strtol/strtoul for citrus for now.
|
1.5 |
| 16-Apr-2013 |
joerg | Add strtol_l and friends. Switch _citrus_bcs_strtol to use plain strtol_l unless in tools mode. Add note to retire the BCS code on the next libc major bump.
|
1.4 |
| 16-Apr-2013 |
joerg | Do not use isalpha here, since we explicitly only support the Portable Character Set as base and in theory a locale could define a ASCII control character as letter, resulting in negations. Also avoid isdigit here to give the compiler a better chance of deciding whether an unsigned compare or a jump table is a better option, both are very likely better choices than the memory indirection.
|
1.3 |
| 09-Mar-2012 |
christos | branches: 1.3.2; Casts and type changes to fix portability issues. - int -> size_t - adjust width of RHS of shift - adjust widths of types
|
1.2 |
| 20-May-2009 |
christos | branches: 1.2.6; 1.2.8; Set endptr if the base is not supported. The opengroup spec does not special case this condition. Note: glibc has the same problem.
|
1.1 |
| 20-Aug-2008 |
joerg | branches: 1.1.2; 1.1.8; 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.1.8.1 |
| 23-Jul-2009 |
jym | Sync with HEAD.
|
1.1.2.2 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.1.2.1 |
| 20-Aug-2008 |
wrstuden | file _strtol.h was added on branch wrstuden-revivesa on 2008-09-18 04:54:18 +0000
|
1.2.8.1 |
| 26-Aug-2017 |
snj | Pull up following revision(s) (requested by joerg in ticket #1460): common/lib/libc/stdlib/_strtol.h: 1.11 via patch common/lib/libc/stdlib/_strtoul.h: 1.11 via patch tests/lib/libc/stdlib/t_strtol.c: 1.6-1.7 Fix testing of returned entptr, and fix three affected tests. From kamil@ via PR lib/49632 -- Fix ISO C compliance: strtol of "0xX" should give the largest valid numeric prefix, which is 0.
|
1.2.6.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.2.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.3.2.1 |
| 23-Jun-2013 |
tls | resync from head
|
1.7.6.1 |
| 17-Nov-2017 |
snj | Pull up following revision(s) (requested by joerg in ticket #1448): common/lib/libc/stdlib/_strtol.h: revision 1.11 common/lib/libc/stdlib/_strtoul.h: revision 1.11 tests/lib/libc/stdlib/t_strtol.c: revision 1.7 Fix ISO C compliance: strtol of "0xX" should give the largest valid numeric prefix, which is 0.
|
1.10.8.1 |
| 10-Jul-2017 |
martin | Pull up following revision(s) (requested by joerg in ticket #112): common/lib/libc/stdlib/_strtol.h: revision 1.11 common/lib/libc/stdlib/_strtoul.h: revision 1.11 tests/lib/libc/stdlib/t_strtol.c: revision 1.7 Fix ISO C compliance: strtol of "0xX" should give the largest valid numeric prefix, which is 0.
|
1.11.6.2 |
| 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
1.11.6.1 |
| 21-Apr-2020 |
martin | Sync with HEAD
|