Re: generic strncpy - off-by-one error

From: Timothy Miller
Date: Fri Aug 15 2003 - 12:37:17 EST




Peter Kjellerstedt wrote:

Timothy's 3.125003 6.128571 9.147905 33.325337


Which of mine did you test? The one with the single-byte fill, or the one with the multiple fill loops that does words for the bulk of the fills?

With some minor tweaks to eliminate compiler stupidity which compares against -1, that might win on the fill phase. No?


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