From: Alejandro Colomar <alx.manpages@gmail.com>
To: DJ Delorie <dj@redhat.com>
Cc: libc-alpha@sourceware.org, linux-man@vger.kernel.org
Subject: Re: [patch v2] aligned_alloc: conform to C17
Date: Fri, 17 Mar 2023 22:18:21 +0100 [thread overview]
Message-ID: <47f80e5b-3efc-46a7-d497-3a9f6eec12b8@gmail.com> (raw)
In-Reply-To: <xn7cvf2i6z.fsf@greed.delorie.com>
[-- Attachment #1.1: Type: text/plain, Size: 687 bytes --]
On 3/17/23 22:15, DJ Delorie wrote:
> Alejandro Colomar <alx.manpages@gmail.com> writes:
>> BTW, I guess C11 was equivalent to C17 in this regard, or was this
>> changed in C17?
>
> C17 seems to be a "bugfix" for C11. In this case, one of the
> requirements for aligned_alloc() in C11 was, well, silly. It was
> removed in C17.
Ahh nice, I knew C17 was a bugfix, but never really knew any of the
bugs it fixed. Now I know one. :)
And yet it seems that the wording is still a bit buggy with that
"nonnegative integral power of two" thingy. :p
Cheers,
Alex
--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-03-17 21:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-17 19:02 DJ Delorie
2023-03-17 21:10 ` Alejandro Colomar
2023-03-17 21:15 ` DJ Delorie
2023-03-17 21:18 ` Alejandro Colomar [this message]
2023-03-17 22:01 ` Florian Weimer
2023-03-17 22:10 ` DJ Delorie
2023-03-17 22:40 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47f80e5b-3efc-46a7-d497-3a9f6eec12b8@gmail.com \
--to=alx.manpages@gmail.com \
--cc=dj@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).