From owner-svn-src-head@FreeBSD.ORG Fri Oct 17 08:40:07 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9107106568A; Fri, 17 Oct 2008 08:40:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8F3D48FC18; Fri, 17 Oct 2008 08:40:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id BD96F41C705; Fri, 17 Oct 2008 10:40:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id tJ0Qml1UXwN9; Fri, 17 Oct 2008 10:40:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 617C841C6DB; Fri, 17 Oct 2008 10:40:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2C45344487F; Fri, 17 Oct 2008 08:39:48 +0000 (UTC) Date: Fri, 17 Oct 2008 08:39:48 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Alexander Leidinger In-Reply-To: <200810170830.m9H8UKtS082818@svn.freebsd.org> Message-ID: <20081017083900.I2978@maildrop.int.zabbadoz.net> References: <200810170830.m9H8UKtS082818@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r183969 - in head/lib/libc: . stdlib X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 08:40:08 -0000 On Fri, 17 Oct 2008, Alexander Leidinger wrote: > Author: netchild > Date: Fri Oct 17 08:30:20 2008 > New Revision: 183969 > URL: http://svn.freebsd.org/changeset/base/183969 > > Log: > MTC r183949: > Allow to define MALLOC_PRODUCTION with a make variable instead of polluting > the global CFLAGS. I wonder if it would have been better to use the existing framework to tunr on/off something that we use these days (src.conf)? > Reviewed by: jasone > > Modified: > head/lib/libc/ (props changed) > head/lib/libc/stdlib/Makefile.inc > > Modified: head/lib/libc/stdlib/Makefile.inc > ============================================================================== > --- head/lib/libc/stdlib/Makefile.inc Fri Oct 17 07:39:27 2008 (r183968) > +++ head/lib/libc/stdlib/Makefile.inc Fri Oct 17 08:30:20 2008 (r183969) > @@ -48,3 +48,8 @@ MLINKS+=strtoul.3 strtoull.3 strtoul.3 s > MLINKS+=malloc.3 calloc.3 malloc.3 free.3 malloc.3 malloc.conf.5 \ > malloc.3 realloc.3 malloc.3 reallocf.3 malloc.3 malloc_usable_size.3 > MLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3 > + > +.if defined(MALLOC_PRODUCTION) > +CFLAGS+= -DMALLOC_PRODUCTION > +.endif > + > -- Bjoern A. Zeeb Stop bit received. Insert coin for new game.