Commit c6750f07 authored by Ed Maste's avatar Ed Maste
Browse files

libc: fix misleading comment in strstr

Obtained from:	musl c53e9b239418
parent 4ca41937
......@@ -149,7 +149,7 @@ twoway_strstr(const unsigned char *h, const unsigned char *n)
for (;;) {
/* Update incremental end-of-haystack pointer */
if (z - h < l) {
/* Fast estimate for MIN(l,63) */
/* Fast estimate for MAX(l,63) */
size_t grow = l | 63;
const unsigned char *z2 = memchr(z, 0, grow);
if (z2) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment