]> git.ipfire.org Git - thirdparty/glibc.git/commit
aligned_alloc: conform to C17
authorDJ Delorie <dj@redhat.com>
Tue, 21 Mar 2023 04:46:43 +0000 (00:46 -0400)
committerDJ Delorie <dj@redhat.com>
Mon, 8 May 2023 20:40:10 +0000 (16:40 -0400)
commitd1417176a35d27ffb8da0ffb1e33154163b6eeb2
treeaa3e8cd61cadf5fec88e4cf57cfaf4b0e0ae6538
parentcea74a4a24c36202309e8254f1f938e2166488f3
aligned_alloc: conform to C17

This patch adds the strict checking for power-of-two alignments
in aligned_alloc(), and updates the manual accordingly.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
malloc/Makefile
malloc/malloc-debug.c
malloc/malloc.c
malloc/tst-aligned-alloc-static.c [new file with mode: 0644]
malloc/tst-aligned-alloc.c [new file with mode: 0644]
manual/memory.texi