From owner-cvs-all@FreeBSD.ORG Sun Jun 29 21:52:48 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 368881065688; Sun, 29 Jun 2008 21:52:48 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 240908FC14; Sun, 29 Jun 2008 21:52:48 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m5TLqmeU023045; Sun, 29 Jun 2008 21:52:48 GMT (envelope-from das@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m5TLqmdB023044; Sun, 29 Jun 2008 21:52:48 GMT (envelope-from das@repoman.freebsd.org) Message-Id: <200806292152.m5TLqmdB023044@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to das@repoman.freebsd.org using -f From: David Schultz Date: Sun, 29 Jun 2008 21:52:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/stdio Makefile.inc printf-pos.c printflocal.h vfprintf.c vfwprintf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2008 21:52:48 -0000 das 2008-06-29 21:52:40 UTC FreeBSD src repository Modified files: lib/libc/stdio Makefile.inc vfprintf.c vfwprintf.c Added files: lib/libc/stdio printf-pos.c printflocal.h Log: SVN rev 180104 on 2008-06-29 21:52:40Z by das Reduce the level of duplication between vfprintf() and vfwprintf() by moving the positional argument handling code to a new file, printf-pos.c, and moving common definitions to printflocal.h. No functional change intended. Revision Changes Path 1.39 +2 -1 src/lib/libc/stdio/Makefile.inc 1.1 +788 -0 src/lib/libc/stdio/printf-pos.c (new) 1.1 +94 -0 src/lib/libc/stdio/printflocal.h (new) 1.80 +1 -486 src/lib/libc/stdio/vfprintf.c 1.31 +3 -488 src/lib/libc/stdio/vfwprintf.c