Subject: Re: CVS commit: basesrc/lib/libc
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: None <itojun@iijlab.net>
List: source-changes
Date: 11/18/2002 06:35:23
> > (there are bunch of "strcpy is safe" comments, i think we should change them
> > to strlcpy as much as possible)
>If the strcpy() is safe, then what is the point of using another (slower)
>routine?

	strcpy() might have been safe when the comment is added, but we're not
	sure with changes after the addition of comments.  by using strlcpy
	we can ensure that the operation is bounded.
	(and we will make a function call anyways, so the speed does not
	really matter i believe)

itojun