Sources Bugzilla – Bug 178
Please add strlcpy and strlcat (attached)
Last modified: 2004-05-25 18:50:49 UTC
I'm attaching the strlcpy.c and strlcat.c files, not the patch to integrate them as I don't know the glibc-makefile magic for this.
Created attachment 91 [details] strlcat implementation This is extracted from FreeBSD CVS. I assume the license is acceptable since it is GPL/LGPL compatible.
Created attachment 92 [details] strlcpy implementation This is extracted from FreeBSD CVS. I assume the license is acceptable since it is GPL/LGPL compatible.
This report contains no claims of justification for adding these interfaces. These have been suggested before and discussed on the mailing list. We don't consider them worthwhile. Please locate that old discussion for details.
Subject: Re: Please add strlcpy and strlcat (attached) On Tue, May 25, 2004 at 06:50:51PM -0000, roland at gnu dot org wrote: > > ------- Additional Comments From roland at gnu dot org 2004-05-25 18:50 ------- > This report contains no claims of justification for adding these interfaces. > These have been suggested before and discussed on the mailing list. > We don't consider them worthwhile. Please locate that old discussion for details. Oh, I see this was discussed already. Sorry for the oversight.