public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: DJ Delorie <dj@redhat.com>
Cc: linux-man@vger.kernel.org, "Floyd, Paul" <pjfloyd@wanadoo.fr>,
	John Scott <jscott@posteo.net>
Subject: Re: aligned_alloc: update to match C17
Date: Tue, 9 May 2023 02:54:10 +0200	[thread overview]
Message-ID: <2f0a225d-b71a-e36b-f8fa-7da7b1ddc7a1@gmail.com> (raw)
In-Reply-To: <xn4jome3m0.fsf@greed.delorie.com>


[-- Attachment #1.1: Type: text/plain, Size: 1536 bytes --]

Hi DJ,

On 5/9/23 02:43, DJ Delorie wrote:
> 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.

True :)

I found this one too: <https://lore.kernel.org/linux-man/d79b505c-5b19-331c-5b25-d40adc9cc843@wanadoo.fr/>
I've CCd that Valgrind maintainer, since he's probably interested in this.

I'll probably apply the patch tomorrow, after some sleep.

Cheers,
Alex


> 
>> 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 ()
> 

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2023-05-09  0:54 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
2023-05-09  0:54     ` Alejandro Colomar [this message]

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=2f0a225d-b71a-e36b-f8fa-7da7b1ddc7a1@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=dj@redhat.com \
    --cc=jscott@posteo.net \
    --cc=linux-man@vger.kernel.org \
    --cc=pjfloyd@wanadoo.fr \
    /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