Change behaviour of posix_memalign for Solaris
commit33ce1bf1cb01b49a441e43a11f5c2de21712e60b
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 28 Feb 2023 20:21:05 +0000 (28 21:21 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 28 Feb 2023 20:21:05 +0000 (28 21:21 +0100)
tree7dab3d311c08142f46b3b6e66726951943846096
parent19dc72931b2168c70239c5922fb2bf2fca90e4bf
Change behaviour of posix_memalign for Solaris

It returns NULL and 0 status whilst most other platforms
allocatae some undefined amount of memory (which is allowed
by posix).

Update the posix_memalign test as well.

Finally remove some clang warnings about alignment.
coregrind/m_replacemalloc/vg_replace_malloc.c
memcheck/tests/freebsd/Makefile.am
memcheck/tests/posix_memalign.c