From owner-cvs-lib Wed Dec 24 15:27:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA08782 for cvs-lib-outgoing; Wed, 24 Dec 1997 15:27:53 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA08722; Wed, 24 Dec 1997 15:27:07 -0800 (PST) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id PAA08119; Wed, 24 Dec 1997 15:23:22 -0800 (PST) Date: Wed, 24 Dec 1997 15:23:22 -0800 (PST) Message-Id: <199712242323.PAA08119@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdio fvwrite.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/12/24 15:23:21 PST Modified files: lib/libc/stdio fvwrite.c Log: 1) Restore back comment about snprintf() 2) Optimize string buffer copy to call memcpy() and update pointers only for count > 0, it makes snprintf(NULL, 0, ...) more efficient Revision Changes Path 1.7 +10 -7 src/lib/libc/stdio/fvwrite.c