From owner-cvs-all Tue Jul 7 17:45:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA05431 for cvs-all-outgoing; Tue, 7 Jul 1998 17:45:22 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA05420; Tue, 7 Jul 1998 17:45:17 -0700 (PDT) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA16360; Tue, 7 Jul 1998 17:45:00 -0700 (PDT) Date: Tue, 7 Jul 1998 17:45:00 -0700 (PDT) Message-Id: <199807080045.RAA16360@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdio asprintf.c fvwrite.c printf.3 vasprintf.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1998/07/07 17:44:59 PDT Modified files: lib/libc/stdio asprintf.c fvwrite.c printf.3 vasprintf.c Log: Replace my original asprintf() and vasprintf() hacks with something more cleanly integrated with stdio. This should be faster and cleaner since it doesn't memcpy() the data into a seperate buffer. This lets stdio allocate and manage the buffer and then hand it over to the user. Obtained from: Todd Miller via OpenBSD Revision Changes Path 1.4 +40 -18 src/lib/libc/stdio/asprintf.c 1.8 +18 -1 src/lib/libc/stdio/fvwrite.c 1.10 +6 -10 src/lib/libc/stdio/printf.3 1.9 +35 -113 src/lib/libc/stdio/vasprintf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message