All of lore.kernel.org
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: Alejandro Colomar <alx.manpages@gmail.com>
Cc: linux-man@vger.kernel.org
Subject: Re: aligned_alloc: update to match C17
Date: Mon, 08 May 2023 20:43:35 -0400	[thread overview]
Message-ID: <xn4jome3m0.fsf@greed.delorie.com> (raw)
In-Reply-To: <d8269a58-9206-f8b8-3a41-097185bc138e@gmail.com>

Alejandro Colomar <alx.manpages@gmail.com> writes:
> Thanks for the patch!  IIRC this is something that someone reported in
> the list a few months ago, right?

Years ago, actually.

> Would you mind mentioning the reporter
> and CC anyone involved in the discussion?  If it's difficult for you to
> find those, tell me and I'll do it.

I got them:

Link: <https://sourceware.org/pipermail/libc-alpha/2023-May/147810.html>
Link: <https://patchwork.sourceware.org/project/glibc/patch/33ec9e0c1e587813b90e8aa771c2c8e6e379dd48.camel@posteo.net/>
Cc: John Scott <jscott@posteo.net>
Signed-off-by: DJ Delorie <dj@redhat.com>

diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3
index 9bc6eb9a4..88e4a8b63 100644
--- a/man3/posix_memalign.3
+++ b/man3/posix_memalign.3
@@ -91,9 +91,8 @@ The function
 is the same as
 .BR memalign (),
 except for the added restriction that
-.I size
-should be a multiple of
-.IR alignment .
+.I alignment
+must be a power of two.
 .PP
 The obsolete function
 .BR valloc ()


  reply	other threads:[~2023-05-09  0:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-08 23:31 aligned_alloc: update to match C17 DJ Delorie
2023-05-09  0:01 ` Alejandro Colomar
2023-05-09  0:43   ` DJ Delorie [this message]
2023-05-09  0:54     ` Alejandro Colomar

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=xn4jome3m0.fsf@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=alx.manpages@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.