From owner-cvs-src@FreeBSD.ORG Thu Apr 22 04:35:13 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6763716A4CE; Thu, 22 Apr 2004 04:35:13 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A53943D49; Thu, 22 Apr 2004 04:35:13 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3MBZDGe080269; Thu, 22 Apr 2004 04:35:13 -0700 (PDT) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3MBZCn4080264; Thu, 22 Apr 2004 04:35:13 -0700 (PDT) (envelope-from tjr) Message-Id: <200404221135.i3MBZCn4080264@repoman.freebsd.org> From: "Tim J. Robbins" Date: Thu, 22 Apr 2004 04:35:12 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/stdio vfprintf.c vfwprintf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 11:35:13 -0000 tjr 2004/04/22 04:35:12 PDT FreeBSD src repository Modified files: lib/libc/stdio vfprintf.c vfwprintf.c Log: Use the correct size to allocate, copy and clear argument type tables after their change from an array of char to an array of enum. This fixes problems that occurred when using positional arguments in format strings, particularly with more than STATIC_ARG_TBL_SIZE (8) of them. PR: 65841 Submitted by: Steven Smith (mostly) Revision Changes Path 1.64 +9 -6 src/lib/libc/stdio/vfprintf.c 1.18 +9 -6 src/lib/libc/stdio/vfwprintf.c