summaryrefslogtreecommitdiff
path: root/libpthread/nptl_db
diff options
context:
space:
mode:
authorDmitry Chestnykh <dm.chestnykh@gmail.com>2024-07-28 14:52:24 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2024-07-30 02:36:40 +0200
commit841d0729883ee0de606de161c1d6a5c37cedf575 (patch)
tree337386cc9e38c75b61f1e8671357f5ce0628a2a0 /libpthread/nptl_db
parentd0c8c185b439187b12644457bb2aa0326f25aaf7 (diff)
Group conditions after `&&`
If the conditions are not grouped we can reach this block even if `__NR_stat` is not defined. `defined __NR_stat && ((!defined(__UCLIBC_USE_TIME64__) || defined(__sparc__))` gives us false but `LINUX_VERSION_CODE <= KERNEL_VERSION(5,1,0))` may give us true. So if linux headers version is below 5.1.0 and __NR_stat is not defined we can have compilation error Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
Diffstat (limited to 'libpthread/nptl_db')
0 files changed, 0 insertions, 0 deletions