This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v6] Add reallocarray function.
- From: Florian Weimer <fweimer at redhat dot com>
- To: Dennis Wölfing <denniswoelfing at gmx dot de>
- Cc: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, "libc-alpha at sourceware dot org >> GNU C Library" <libc-alpha at sourceware dot org>
- Date: Tue, 30 May 2017 22:16:15 +0200
- Subject: Re: [PATCH v6] Add reallocarray function.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 131E880B56
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 131E880B56
- References: <CAKCAbMj46tfbXaVitKisjf_27=N4qwnkuV08a-qMfpzo45Qgxg@mail.gmail.com> <20170522202515.19374-1-denniswoelfing@gmx.de> <4d4e86c6-7b9e-8e4f-414d-0fa3c4f4470c@linaro.org> <68ebaa2f-0273-73f5-2ef0-58698d11aba1@gmx.de>
On 05/30/2017 10:02 PM, Dennis Wölfing wrote:
> On 30.05.2017 17:17, Adhemerval Zanella wrote:
>>> +@strong{Portability Note:} This function is not part of any standard. It was
>>> +first introduced in OpenBSD 5.6.
>>> +@end deftypefun
>>
>> I think it is worth to add FreeBSD 11.0 also supports it.
>
> I'm not sure about that. It makes sense to mention OpenBSD because that
> is where reallocarray originates from. But FreeBSD is not the only other
> OS that implements reallocarray. If we mention FreeBSD do we also
> mention NetBSD and any other implementation?
> I would prefer to leave that sentence as it is.
For what it's worth, I agree with you.
Thanks,
Florian