Re: aligned_alloc: update to match C17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi DJ,

On 5/9/23 02:43, DJ Delorie wrote:
> Alejandro Colomar <alx.manpages@xxxxxxxxx> 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@xxxxxxxxxx/>
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@xxxxxxxxxx/>
> Cc: John Scott <jscott@xxxxxxxxxx>
> Signed-off-by: DJ Delorie <dj@xxxxxxxxxx>
> 
> 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: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux