Date: Sat, 24 Nov 2012 15:02:51 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Ed Schouten <ed@FreeBSD.org> Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org Subject: Re: svn commit: r243405 - in stable/9: include lib/libc/stdlib Message-ID: <50B0D38B.3020605@FreeBSD.org> In-Reply-To: <201211221519.qAMFJroe007462@svn.freebsd.org> References: <201211221519.qAMFJroe007462@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-11-22 16:19, Ed Schouten wrote: > Author: ed > Date: Thu Nov 22 15:19:53 2012 > New Revision: 243405 > URL: http://svnweb.freebsd.org/changeset/base/243405 > > Log: > MFC r229848: > > Add aligned_alloc(3). > > The C11 folks reinvented the wheel by introducing an aligned version of > malloc(3) called aligned_alloc(3), instead of posix_memalign(3). Instead > of returning the allocation by reference, it returns the address, just > like malloc(3). > > I'm MFCing this now, as it seems aligned_alloc(3) is needed to make the > new version of libc++ work, which was merged back to FreeBSD 9 in r243376. > > Requested by: dim Thanks!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B0D38B.3020605>