From owner-cvs-src@FreeBSD.ORG Fri Oct 31 05:29:01 2003 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 CBFF216A4CE; Fri, 31 Oct 2003 05:29:01 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4473443FE1; Fri, 31 Oct 2003 05:29:01 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9VDT1XJ070404; Fri, 31 Oct 2003 05:29:01 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9VDT1cQ070403; Fri, 31 Oct 2003 05:29:01 -0800 (PST) (envelope-from tjr) Message-Id: <200310311329.h9VDT1cQ070403@repoman.freebsd.org> From: "Tim J. Robbins" Date: Fri, 31 Oct 2003 05:29:01 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/locale wcsftime.c wcstod.c wcstof.c wcstold.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: Fri, 31 Oct 2003 13:29:02 -0000 tjr 2003/10/31 05:29:00 PST FreeBSD src repository Modified files: lib/libc/locale wcsftime.c wcstod.c wcstof.c wcstold.c Log: Don't bother passing a freshly-zeroed mbstate to mbsrtowcs() etc. when the current implementation won't use it, anyway. Just pass NULL. This will need to be changed when state-dependent encodings are supported, but there's no need to take the performance hit in the meantime. Revision Changes Path 1.3 +7 -8 src/lib/libc/locale/wcsftime.c 1.3 +10 -23 src/lib/libc/locale/wcstod.c 1.2 +5 -23 src/lib/libc/locale/wcstof.c 1.2 +3 -21 src/lib/libc/locale/wcstold.c