From owner-svn-src-all@FreeBSD.ORG Tue Jun 5 17:13:25 2012 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 001BD10656D3; Tue, 5 Jun 2012 17:13:24 +0000 (UTC) (envelope-from ache@vniz.net) Received: from vniz.net (vniz.net [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 6B7FB8FC1F; Tue, 5 Jun 2012 17:13:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.5/8.14.5) with ESMTP id q55HDMv3018545; Tue, 5 Jun 2012 21:13:22 +0400 (MSK) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id q55HDLPj018543; Tue, 5 Jun 2012 21:13:22 +0400 (MSK) (envelope-from ache) Date: Tue, 5 Jun 2012 21:13:21 +0400 From: Andrey Chernov To: Joerg Sonnenberger Message-ID: <20120605171321.GA18396@vniz.net> Mail-Followup-To: Andrey Chernov , Joerg Sonnenberger , svn-src-all@FreeBSD.ORG, Dimitry Andric , src-committers@FreeBSD.ORG, svn-src-head@FreeBSD.ORG References: <201206042134.q54LYoVJ067685@svn.freebsd.org> <4FCDBE69.6080906@FreeBSD.org> <20120605123901.GA13306@vniz.net> <20120605125520.GA12045@britannica.bec.de> <20120605131305.GF13306@vniz.net> <20120605142510.GB13416@britannica.bec.de> <20120605143114.GA15710@vniz.net> <20120605151733.GA15110@britannica.bec.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120605151733.GA15110@britannica.bec.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Dimitry Andric Subject: Re: svn commit: r236582 - head/lib/libc/stdlib X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 17:13:25 -0000 On Tue, Jun 05, 2012 at 05:17:33PM +0200, Joerg Sonnenberger wrote: > On Tue, Jun 05, 2012 at 06:31:14PM +0400, Andrey Chernov wrote: > > BTW, if general consensus will be to track unpublished standard, I will > > back out my change (in hope our malloc() maintainer will change free() to > > directly save errno). > > The standard is quite irrelevant here. FreeBSD is free to require a more > restricted behavior of free(3). I am not supporter of "our" concept for standard API. Having ours only restricted free() will make harder to write portable code because people tends relay on what works for them and not on standards. But in the light of upcoming new standard version which require the same, it is acceptable at least. BTW, the change backed out, PR for free() filled instead. -- http://ache.vniz.net/