summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcsspn.c
diff options
context:
space:
mode:
authorbeck <>2025-05-20 05:39:08 +0000
committerbeck <>2025-05-20 05:39:08 +0000
commitba497f049e31b884fb58688b50b8f9f306b75509 (patch)
treebec3bc3f81054a41d9cb7e104d3c76a4b34c649a /src/lib/libc/string/wcsspn.c
parentb7d2b00a69a9fe4778d1d5eb40407b1bba0ea5a8 (diff)
downloadopenbsd-ba497f049e31b884fb58688b50b8f9f306b75509.tar.gz
openbsd-ba497f049e31b884fb58688b50b8f9f306b75509.tar.bz2
openbsd-ba497f049e31b884fb58688b50b8f9f306b75509.zip
Don't use the array index as the group_id
This is a precursor to adding new group ids for post quantum stuff which are up in the 4000 range, so using the array index as the group id will be silly. Instead we just add the group id to the structure and we walk the list to find it. This should never be a very large list for us, so no need to do anything cuter than linear search for now. ok jsing@, joshua@
Diffstat (limited to 'src/lib/libc/string/wcsspn.c')
0 files changed, 0 insertions, 0 deletions