Re: [TRIVIAL] kstrdup

From: Linus Torvalds (torvalds@transmeta.com)
Date: Fri Apr 18 2003 - 11:20:01 EST


On Fri, 18 Apr 2003, Jeff Garzik wrote:
>
> You should save the strlen result to a temp var, and then s/strcpy/memcpy/

No, you should just not do this. I don't see the point.

                Linus

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



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:24 EST