Found by Coverity.
* tests/test-vma-prot.c (main): Fix typo.
+2024-09-02 Bruno Haible <bruno@clisp.org>
+
+ vma-prot tests: Strengthen test.
+ Found by Coverity.
+ * tests/test-vma-prot.c (main): Fix typo.
+
2024-09-02 Simon Josefsson <simon@josefsson.org>
syntax-check: Catch obsolete Franklin Street usages.
{
prot = get_vma_prot (mem, 1024*1024);
ASSERT (prot != -1);
- ASSERT (prot == VMA_PROT_READ | VMA_PROT_WRITE);
+ ASSERT (prot == (VMA_PROT_READ | VMA_PROT_WRITE));
size_t pagesize = sysconf (_SC_PAGESIZE);
if (pagesize <= 512*1024