From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23298 invoked by alias); 14 Mar 2004 21:16:44 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 23272 invoked from network); 14 Mar 2004 21:16:42 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 14 Mar 2004 21:16:42 -0000 Received: from redhat.com (drepper@myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.11/8.12.10) with ESMTP id i2ELGUi8012851 for ; Sun, 14 Mar 2004 13:16:30 -0800 Message-ID: <4054CBAE.6030702@redhat.com> Date: Sun, 14 Mar 2004 21:16:00 -0000 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040314 MIME-Version: 1.0 To: GNU libc hacker Subject: _l functions X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-03/txt/msg00079.txt.bz2 Ever since the introduction of thread-local locales having two copies of functions, normal and _l, did not make any sense anymore. The access to the locale data in the non-_l code is more expensive. So I checked in a patch which converts the _l functions in the real implementations and the old interfaces are mere wrappers. Benefit: there should be no slowdown and about 10% size reduction of libc.so on x86. On 64-bit archs it's less since strto*l and strto*ll are the same. This change should also address the wcstold thing HJ complaint about. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖