[all-commits] [llvm/llvm-project] 71dd4e: [libc] fix strsep()/strtok()/strtok_r() "subsequen...
enh-google via All-commits
all-commits at lists.llvm.org
Thu Aug 21 06:32:58 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 71dd4e17dd6493986e4b3647288d8e4c22a86c44
https://github.com/llvm/llvm-project/commit/71dd4e17dd6493986e4b3647288d8e4c22a86c44
Author: enh-google <enh at google.com>
Date: 2025-08-21 (Thu, 21 Aug 2025)
Changed paths:
M libc/src/string/string_utils.h
M libc/test/src/string/strsep_test.cpp
M libc/test/src/string/strtok_r_test.cpp
M libc/test/src/string/strtok_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel
Log Message:
-----------
[libc] fix strsep()/strtok()/strtok_r() "subsequent searches" behavior. (#154370)
These functions turned out to have the same bug that was in wcstok()
(fixed by 4fc9801), so add the missing tests and fix the code in a way
that matches wcstok().
Also fix incorrect test expectations in existing tests.
Also update the BUILD.bazel files to actually build the strsep() test.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list