Re: [RFC][PATCH v2 2/7] implement memmem()

From: Rasmus Villemoes
Date: Fri Feb 06 2015 - 18:14:56 EST


On Fri, Feb 06 2015, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> The functionality of strnstr() does not change with this patch, so it
> does not need to address your concern.

Yeah, I should have checked that, of course. Sorry.

> Feel free to submit a patch that states the difference of the kernel
> version of strnstr with whatever version is out in the wild.

It seems a much better name would be memstr, and "length-limited string"
is misleading, since s1 is in no way treated as a string. But I'll leave
it for now.

Rasmus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/