Bug 178

Summary: Please add strlcpy and strlcat (attached)
Product: glibc Reporter: rmh
Component: libcAssignee: GOTO Masanori <gotom>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: glibc-bugs
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: strlcat implementation
strlcpy implementation

Description rmh 2004-05-24 20:19:29 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.
Comment 1 rmh 2004-05-24 20:21:47 UTC
Created attachment 91 [details]
strlcat implementation

This is extracted from FreeBSD CVS. I assume the license is acceptable since it
is GPL/LGPL compatible.
Comment 2 rmh 2004-05-24 20:22:28 UTC
Created attachment 92 [details]
strlcpy implementation

This is extracted from FreeBSD CVS. I assume the license is acceptable since it
is GPL/LGPL compatible.
Comment 3 Roland McGrath 2004-05-25 18:50:49 UTC
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.
Comment 4 zeratul2@wanadoo.es 2004-05-25 19:51:21 UTC
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.