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 /src/thread/mtx_timedlock.c | |
parent | 786fda875a901dc1807289c940338487854cd3ba (diff) | |
download | musl-809ff8cf90254921ea38eb6fa1ce326d9008513b.tar.gz musl-809ff8cf90254921ea38eb6fa1ce326d9008513b.tar.bz2 musl-809ff8cf90254921ea38eb6fa1ce326d9008513b.tar.xz musl-809ff8cf90254921ea38eb6fa1ce326d9008513b.zip |
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 'src/thread/mtx_timedlock.c')
0 files changed, 0 insertions, 0 deletions