diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-05-19 12:18:16 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-05-19 12:18:16 -0400 |
commit | 93be56ba88e1e31f4ba9f16a00b28cc9d15634ca (patch) | |
tree | 2da7cb4ec47e925cc9d35498625b742ee1be0e02 /include/tgmath.h | |
parent | ff78355bc11257744759b5005d330e4a7583a4e4 (diff) | |
download | musl-93be56ba88e1e31f4ba9f16a00b28cc9d15634ca.tar.gz |
remove unsupported nonstandard sysconf macros and their table entries
some of these may have been from ancient (pre-SUSv2) POSIX versions;
more likely, they were from POSIX drafts or glibc interpretations of
what ancient versions of POSIX should have added (instead they made
they described functionality mandatory and/or dropped it completely).
others are purely glibc-isms, many of them ill-thought-out, like
providing ways to lookup the min/max values of types at runtime
(despite the impossibility of them changing at runtime and the
impossibility of representing ULONG_MAX in a return value of type
long).
since our sysconf implementation does not support or return meaningful
values for any of these, it's harmful to have the macros around;
applications' build scripts may detect and attempt to use them, only
to get -1/EINVAL as a result.
if removing them does break some applications, and it's determined
that the usage was reasonable, some of these could be added back on an
as-needed basis, but they should return actual meaningful values, not
junk like they were returning before.
Diffstat (limited to 'include/tgmath.h')
0 files changed, 0 insertions, 0 deletions