Skip site navigation (1)Skip section navigation (2)
Date:      18 Dec 2000 16:41:13 +0100
From:      Assar Westerlund <assar@FreeBSD.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/libkern strlcat.c strlcpy.c src/sys/sys libkern.h src/sys/conf files
Message-ID:  <5l4s01ka92.fsf@assaris.sics.se>
In-Reply-To: Dag-Erling Smorgrav's message of "18 Dec 2000 16:00:36 %2B0100"
References:  <200012180408.eBI48wg99879@freefall.freebsd.org> <xzpu282ypvp.fsf@flood.ping.uio.no> <5l66khluty.fsf@assaris.sics.se> <xzpitohzu34.fsf@flood.ping.uio.no> <xzpae9tztba.fsf@flood.ping.uio.no> <5lsnnlkcf7.fsf@assaris.sics.se> <xzp66khzsdn.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@ofug.org> writes:
> Ah, so you need to add one line and change another to make them comply
> with the man page.

More than that.  I've not managed to write any strlcpy that is
remarkable smaller than the one in libc in generated code and since I
do not understand the point of squeezing these bytes from the code.
Having the same code as in libc seems like more important to me.  But
since you find it important to squeeze down these functions to their
minimal size, it's probably is better left in your hands writing them.

/assar


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5l4s01ka92.fsf>