summaryrefslogtreecommitdiff
path: root/arch/powerpc/bits/hwcap.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2025-05-16 09:10:19 -0400
committerRich Felker <dalias@aerifal.cx>2025-05-16 09:11:14 -0400
commitae3a8c93a663b553e65f096498937083dad210d2 (patch)
treef30256d8ada8b92a9a48daf7676565d6ee593ac4 /arch/powerpc/bits/hwcap.h
parent23febbd3c5d6b4e367faee4f39b8e8c3b95ab588 (diff)
downloadmusl-ae3a8c93a663b553e65f096498937083dad210d2.tar.gz
fix strcasestr failing to find zero-length needle
the loop condition ending on end-of-haystack ends before a zero-length needle can be matched, so just explicitly check it before the loop.
Diffstat (limited to 'arch/powerpc/bits/hwcap.h')
0 files changed, 0 insertions, 0 deletions