summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-08-16 06:55:15 +0200
committerAnthony G. Basile <blueness@gentoo.org>2013-08-16 18:26:01 -0400
commitd5e3a2466f627f177aead0275b9da01d300f26bf (patch)
treea2eabec2c8591fd655300d802a7b6e664f4d18cd /autogen.sh
parentcc860bb8c2f94d48e135d2d5c8680cf29a0ef75e (diff)
udev/udevadm-hwdb.c: remove usage of qsort_r
while theoretically a nice interface, qsort_r on GLIBC was implemented with a prototype that shuffles the argument order around when compared to the traditional BSD implementations, yielding in 2 separate incompatible implementations. even worse, the arguments are all of pointer type so one would not even notice that the order is wrong and so this would yield in crashes or silent memory corruption. thus musl does not implement it, because configure scripts would check for its existance and use it unconditionally, even when assuming the BSD version. a more portable solution is to use TLS via __thread, which any modern GCC should provide. (even 3.4.6 on x86/x86_64 does so). Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions