diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-03-16 18:31:02 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-04-07 14:06:18 +0530 |
commit | d1a3dcabf2f89233a99a4a9be08f9f407da0b6b4 (patch) | |
tree | 923c89bfe24a3ab053337bcf3eb36675ee276c68 /include/bits/poll2.h | |
parent | bf6b6243c9fe6e9727282ed63f774698e730cedd (diff) | |
download | glibc-d1a3dcabf2f89233a99a4a9be08f9f407da0b6b4.tar.gz glibc-d1a3dcabf2f89233a99a4a9be08f9f407da0b6b4.tar.xz glibc-d1a3dcabf2f89233a99a4a9be08f9f407da0b6b4.zip |
tunables: Fix comparison of tunable values
The simplification of tunable_set interfaces took care of signed/unsigned conversions while setting values, but comparison with bounds ended up being incorrect; comparing TUNABLE_SIZE_T values for example will fail because SIZE_MAX is seen as -1. Add comparison helpers that take tunable types into account and use them to do comparison instead.
Diffstat (limited to 'include/bits/poll2.h')
0 files changed, 0 insertions, 0 deletions