|
From: Paul F. <pa...@so...> - 2021-10-12 21:33:32
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=5675b90cc07ca30a18ea653f51fb4973e0f73ff9 commit 5675b90cc07ca30a18ea653f51fb4973e0f73ff9 Author: Paul Floyd <pj...@wa...> Date: Tue Oct 12 23:04:52 2021 +0200 Previous fix was out by one version tag. memalign must have been added with FreeBSD 12.2 Diff: --- memcheck/tests/memalign2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memcheck/tests/memalign2.c b/memcheck/tests/memalign2.c index c5a8b0e07c..a7bdb34c5d 100644 --- a/memcheck/tests/memalign2.c +++ b/memcheck/tests/memalign2.c @@ -31,7 +31,7 @@ int main ( void ) int res; assert(sizeof(long int) == sizeof(void*)); -#if !defined(VGO_freebsd) || (FREEBSD_VERS >= FREEBSD_12) +#if !defined(VGO_freebsd) || (FREEBSD_VERS >= FREEBSD_12_2) // Check behaviour of memalign/free for big alignment. // In particular, the below aims at checking that a // superblock with a big size is not marked as reclaimable |