Differences From Artifact [3a36a1ae89]:
- File
src/OFString.m
— part of check-in
[04bb18457a]
at
2020-08-13 19:43:33
on branch trunk
— Set errno to 0 before calling strto*
It is not guaranteed that errno is set to 0 when there is no
overflow/underflow, so it needs to be set to 0 before, in case it
already is ERANGE from a previous call. (user: js, size: 65475) [annotate] [blame] [check-ins using]
To Artifact [3885de5d40]:
- File src/OFString.m — part of check-in [138410a925] at 2020-08-13 19:49:10 on branch trunk — Work around amiga-gcc missing strto(u)ll (user: js, size: 65593) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
71 72 73 74 75 76 77 78 79 80 81 82 83 84 | #ifdef __MINGW32__ # define strtod __strtod #endif #ifdef OF_AMIGAOS_M68K /* libnix has strtod, but not strtof */ # define strtof strtod #endif static struct { Class isa; } placeholder; #if defined(HAVE_STRTOF_L) || defined(HAVE_STRTOD_L) | > > > | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | #ifdef __MINGW32__ # define strtod __strtod #endif #ifdef OF_AMIGAOS_M68K /* libnix has strtod, but not strtof */ # define strtof strtod /* libnix has strtoimax/strtoumax, but not strtoll/strtoull */ # define strtoll strtoimax # define strtoull strtoumax #endif static struct { Class isa; } placeholder; #if defined(HAVE_STRTOF_L) || defined(HAVE_STRTOD_L) |
︙ | ︙ |