On Thu, Jul 24, 2008 at 10:35:36PM +0200, Martin Toft wrote: > On Thu, Jul 24, 2008 at 02:20:22PM -0600, Theo de Raadt wrote: > > +#define strlcpy(dst, src, size) (strncpy((dst), (src), (size) - 1)) > > +#define strlcat(dst, src, size) (strncat((dst), (src), (size) - 1)) > > > > That is utterly and completely wrong. > > Yep, I'm a noob when it comes to these kinds of things. I'll look into > it.
And so I did. Travelling and other work delayed me though. The result: http://martintoft.dk/?p=cwm Martin

