From owner-freebsd-arch@freebsd.org Tue Mar 31 20:01:50 2020 Return-Path: Delivered-To: freebsd-arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 937D1269EF4 for ; Tue, 31 Mar 2020 20:01:50 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48sKwX5Mkmz3GFs for ; Tue, 31 Mar 2020 20:01:48 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from lrrr.mouf.net (cpe-76-182-16-135.nc.res.rr.com [76.182.16.135]) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id 02VK1SaW065817 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 31 Mar 2020 20:01:34 GMT (envelope-from swills@FreeBSD.org) Subject: Re: Time to svn rm include/malloc.h To: Warner Losh , "freebsd-arch@freebsd.org" References: From: Steve Wills Message-ID: <6dbfb7cd-b4c8-dea8-8fc5-43e2b89e352d@FreeBSD.org> Date: Tue, 31 Mar 2020 16:01:23 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Tue, 31 Mar 2020 20:01:35 +0000 (UTC) X-Spam-Status: No, score=0.3 required=4.5 tests=KHOP_HELO_FCRDNS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99.2 at mouf.net X-Virus-Status: Clean X-Rspamd-Queue-Id: 48sKwX5Mkmz3GFs X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.49 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.76)[-0.756,0]; ASN(0.00)[asn:36236, ipnet:2607:fc50::/36, country:US]; NEURAL_HAM_LONG(-0.73)[-0.729,0] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2020 20:01:51 -0000 Yeah, a lot of ports have things like: sed -e 's/malloc.h/stdlib.h/' *.[ch] because they have autotools that check for malloc.h existence and include it if it exists, so you end up with things like: ... #include ... #if HAVE_MALLOC_H #include #endif ... which ends up harmless, but sub-optimal. Steve On 3/31/20 3:50 PM, Warner Losh wrote: > We started warning in 1994 that malloc.h was an obsolete relic of a bygon > era. It was almost removed from FreeBSD 2.0. It's time to remove it because > it causes more harm than good to ports these days. 25 years of advance > warning should be enough, I'd say. > > To that end, I plan on removing it from -current on April 15th. > > Is there any reason I shouldn't do this? > > Warner > _______________________________________________ > freebsd-arch@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >