From owner-cvs-src@FreeBSD.ORG Sat Feb 21 01:14:38 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 CF8D816A4CE; Sat, 21 Feb 2004 01:14:38 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2FBB43D2D; Sat, 21 Feb 2004 01:14:38 -0800 (PST) (envelope-from phk@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 i1L9EcGe024763; Sat, 21 Feb 2004 01:14:38 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1L9EcuC024762; Sat, 21 Feb 2004 01:14:38 -0800 (PST) (envelope-from phk) Message-Id: <200402210914.i1L9EcuC024762@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sat, 21 Feb 2004 01:14:38 -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/stdlib malloc.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: Sat, 21 Feb 2004 09:14:38 -0000 phk 2004/02/21 01:14:38 PST FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Remove the triplicity in the public functions by vectoring them all through a realloc like function. Make the malloc_active variable a local static to this new function. Don't warn about recursion more than once per base call. constify malloc_func. Revision Changes Path 1.86 +49 -70 src/lib/libc/stdlib/malloc.c