diff options
Diffstat (limited to 'src/string/strcspn.c')
| -rw-r--r-- | src/string/strcspn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string/strcspn.c b/src/string/strcspn.c index 19f83fda..f2e8c588 100644 --- a/src/string/strcspn.c +++ b/src/string/strcspn.c @@ -10,6 +10,7 @@ size_t strcspn(const char *s1, const char *s2) SIGNAL_SAFE(0); ASSERT_NONNULL(s1); ASSERT_NONNULL(s2); + /* no modification, overlap is OK */ for (i = 0; s1[i] != '\0'; i++) { if (strchr (s2, s1[i]) != NULL) { |
