2010.07.08 16:25 "[Tiff] strlcpy vs strncpy", by Bob Friesenhahn

2010.07.11 08:06 "Re: [Tiff] strlcpy vs strncpy", by Toby Thain

On 11-Jul-10, at 3:34 AM, Albert Cahalan wrote:

On Sat, Jul 10, 2010 at 9:27 AM, Kevin Myers <KevinMyers@austin.rr.com> wrote:

I tend to agree regarding the use of standard implementations rather than rolling your own whenever possible. F. is well versed However, Bob in

portability issues because of his support for GraphicsMagick on multiple platforms. thinks there are enough compilers in widespread If he use that

don't support strlcpy to justify rolling his own, then he may be right.

I think Linux and Windows are in widespread use. :-) You can find strlcpy on *BSD

And OS X (checked 10.5.8).

and I think on recent Solaris.

Yes (checked Solaris 10 10/09).

--Toby

It has been rejected by the glibc maintainer.