diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-01-04 19:48:21 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-01-04 19:52:24 -0500 |
commit | 809ff8cf90254921ea38eb6fa1ce326d9008513b (patch) | |
tree | 2e33edaa7f9466a8b43fb16833789ea1e283d9b7 /arch/s390x/bits/posix.h | |
parent | 786fda875a901dc1807289c940338487854cd3ba (diff) | |
download | musl-809ff8cf90254921ea38eb6fa1ce326d9008513b.tar.gz |
treat base 1 as an error in strtol-family functions
ISO C and POSIX only specify behavior for base arguments of 0 and
2-36; POSIX mandates an EINVAL error for unsupported bases. it's not
clear that there's a requirement for implementations not to "support"
additional bases as an extension, but "base 1" did not work in any
meaningful way anyway, so it should be considered unsupported and thus
an error.
Diffstat (limited to 'arch/s390x/bits/posix.h')
0 files changed, 0 insertions, 0 deletions