musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/string/strstr.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018年11月02日 12:04:41 -0400
committerRich Felker <dalias@aerifal.cx>2018年11月02日 12:04:41 -0400
commit0239cd0681e889a269fb7691f60e81ef8d081e6b (patch)
treedb2058774aeb603fa70e0de662b0fc411c0ad00f /src/string/strstr.c
parent8f5a820d147da36bcdbddd201b35d293699dacd8 (diff)
downloadmusl-0239cd0681e889a269fb7691f60e81ef8d081e6b.tar.gz
remove commented-out debug printf from strstr
this was leftover from before the initial commit.
Diffstat (limited to 'src/string/strstr.c')
-rw-r--r--src/string/strstr.c 1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string/strstr.c b/src/string/strstr.c
index c80e9caf..c7d66682 100644
--- a/src/string/strstr.c
+++ b/src/string/strstr.c
@@ -108,7 +108,6 @@ static char *twoway_strstr(const unsigned char *h, const unsigned char *n)
/* Check last byte first; advance by shift on mismatch */
if (BITOP(byteset, h[l-1], &)) {
k = l-shift[h[l-1]];
- //printf("adv by %zu (on %c) at [%s] (%zu;l=%zu)\n", k, h[l-1], h, shift[h[l-1]], l);
if (k) {
if (mem && k < p) k = l-p;
h += k;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 12:38:13 +0000

AltStyle によって変換されたページ (->オリジナル) /