On Sun, Mar 14, 2010 at 09:41:22AM +0100, Gilbert wrote: > On Sun, 14 Mar 2010 01:15:24 +0100 (CET) > Tamas TEVESZ <[email protected]> wrote: > > > > > hi, > > > > what would be the reaction if i were to introduce the use of strlcpy > > and strlcat? > > > > i've been having this itch about all thouse unbounded string ops > > everywhere (just try GNUSTEP_USER_ROOT=`perl -e 'print "a"x1500'` > > getstyle), and while they can be fixed with strncat/strncpy, strl* is > > just easier. > > > > they are almost everywhere by now (except glibc, of course, but it it > > not unprecedented for linux vendors to patch it in), but for those > > systems lacking, a (isc-licensed) reference implementation could be > > lifted easily. > > > > of course i'd be relying heavily on sir raorn to do the autoconf stuff > > :) > > > > -- > > [-] > > > > mkdir /nonexistent > > > > > > -- > > To unsubscribe, send mail to [email protected]. > Is that portable to BSD systems? > Gilbert > man strlcpy ... HISTORY The strlcpy() and strlcat() functions first appeared in OpenBSD 2.4
-- To unsubscribe, send mail to [email protected].
