Re: Patch for strncmp use in s390 in 2.5

From: Richard Braakman (dark@xs4all.nl)
Date: Wed May 28 2003 - 16:57:42 EST


On Wed, May 28, 2003 at 04:20:19PM -0400, Pete Zaitcev wrote:
> I didn't see this posted before. Sorry if I missed it.
> It's a harmless buglet which causes false positives with correctness
> checking tools, and so annoys me.

Are you sure it's harmless? Your patch changes the meaning from an
exact match to a prefix match. I think it's intended to be an exact
match, but I don't know why it doesn't just use strcmp().

Richard Braakman
-
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/