svn commit: r236582 - head/lib/libc/stdlib

Andrey Chernov ache at FreeBSD.ORG
Tue Jun 5 17:13:25 UTC 2012


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/


More information about the svn-src-all mailing list