fix inefficient choice of tlsdesc function due to off-by-one
authorRich Felker <dalias@aerifal.cx>
Mon, 16 Jul 2018 16:29:14 +0000 (12:29 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 16 Jul 2018 16:29:14 +0000 (12:29 -0400)
commit5fdccbcd8f080ca6cd2c64cca520805f17af857b
tree70ea44fc1cb8c75754872c62025071b821346791
parent187bcc3bf40bf187c5d76d206b04028fa8ca403b
fix inefficient choice of tlsdesc function due to off-by-one

tls_id is one-based, whereas [static_]tls_cnt is a count, so
comparison for checking that a given tls_id is dynamic rather than
static needs to use strict inequality.
ldso/dynlink.c