From owner-cvs-all Mon Dec 18 7:41:11 2000 From owner-cvs-all@FreeBSD.ORG Mon Dec 18 07:41:08 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from assaris.sics.se (assaris.sics.se [193.10.66.234]) by hub.freebsd.org (Postfix) with ESMTP id 4B51337B402; Mon, 18 Dec 2000 07:41:07 -0800 (PST) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id QAA77642; Mon, 18 Dec 2000 16:41:14 +0100 (CET) (envelope-from assar) Sender: assar@assaris.sics.se From: Assar Westerlund To: Dag-Erling Smorgrav 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 References: <200012180408.eBI48wg99879@freefall.freebsd.org> <5l66khluty.fsf@assaris.sics.se> <5lsnnlkcf7.fsf@assaris.sics.se> Date: 18 Dec 2000 16:41:13 +0100 In-Reply-To: Dag-Erling Smorgrav's message of "18 Dec 2000 16:00:36 +0100" Message-ID: <5l4s01ka92.fsf@assaris.sics.se> Lines: 12 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav 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