Date: Thu, 15 Jul 1999 20:16:09 -0400 From: Garance A Drosihn <drosih@rpi.edu> To: Sheldon Hearn <sheldonh@uunet.co.za>, Warner Losh <imp@village.org> Cc: Paul Hart <hart@iserver.com>, freebsd-security@FreeBSD.ORG Subject: Re: OpenBSD's strlcpy(3) and strlcat(3) Message-ID: <v04011706b3b429ada93a@[128.113.24.47]> In-Reply-To: <80530.932081904@axl.noc.iafrica.com> References: Your message of "Thu, 15 Jul 1999 17:19:05 CST." <199907152319.RAA73667@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 1:38 AM +0200 7/16/99, Sheldon Hearn wrote: >On Thu, 15 Jul 1999 17:19:05 CST, Warner Losh wrote: > >> I *STRONGLY* support adding strl routines to FreeBSD's libc. >> I've had them in my local library for a long time, but haven't >> had the time to commit them. > > What do you think of this? > >" >size_t >strlcpy(char *dst, char *src, size_t len [, shortfall]); > >size_t >strlcat(char *dst, char *src, size_t len [, shortfall]); > >[...] I like the idea of strl* routines, but I think we should just add them the way they'll be implemented everywhere else. If everyone else (openbsd, solaris, etc) likes the above idea then I'm certainly all for it. If they don't, then I see no benefit in making slightly different routines for freebsd. If I'm writing code, I'm writing it for more than one platform. --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04011706b3b429ada93a>
