Changeset dbbbe75b in mainline for uspace/lib/posix/source/stdlib/strtold.c
- Timestamp:
- 2018-01-15T21:54:21Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8348846
- Parents:
- c718bda
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/stdlib/strtold.c
rc718bda rdbbbe75b 347 347 bool after_decimal = false; 348 348 349 while ( posix_isxdigit(*str) || (!after_decimal && *str == DECIMAL_POINT)) {349 while (isxdigit(*str) || (!after_decimal && *str == DECIMAL_POINT)) { 350 350 if (*str == DECIMAL_POINT) { 351 351 after_decimal = true; … … 459 459 /* check for a hex number */ 460 460 if (nptr[i] == '0' && tolower(nptr[i + 1]) == 'x' && 461 ( posix_isxdigit(nptr[i + 2]) ||462 (nptr[i + 2] == RADIX && posix_isxdigit(nptr[i + 3])))) {461 (isxdigit(nptr[i + 2]) || 462 (nptr[i + 2] == RADIX && isxdigit(nptr[i + 3])))) { 463 463 i += 2; 464 464
Note:
See TracChangeset
for help on using the changeset viewer.