* tests/test-free.c (main): Restore previous code for !__FILC__.
+2026-08-01 Bruno Haible <bruno@clisp.org>
+
+ free-posix tests: Avoid failure on Ubuntu 24.04 (regression 2026-07-28).
+ * tests/test-free.c (main): Restore previous code for !__FILC__.
+
2026-07-31 Paul Eggert <eggert@cs.ucla.edu>
doc: N3322 cautions
/* Do a large memory allocation. */
size_t big_size = 0x1000000;
void *ptr = malloc (big_size - 0x100);
- char *ptr_aligned = (char *) ptr - ((uintptr_t) ptr & (pagesize - 1));
+ char *ptr_aligned;
+ #if defined __FILC__
+ ptr_aligned = (char *) ptr - ((uintptr_t) ptr & (pagesize - 1));
+ #else
+ ptr_aligned = (char *) ((uintptr_t) ptr & ~(pagesize - 1));
+ #endif
/* This large memory allocation allocated a memory area
from ptr_aligned to ptr_aligned + big_size.
Enlarge this memory area by adding a page before and a page