]> granicus.if.org Git - libatomic_ops/commit
Do not test CHUNK_SIZE allocation if no mmap() available (test_malloc)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 19 Dec 2017 09:05:01 +0000 (12:05 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 19 Dec 2017 09:05:01 +0000 (12:05 +0300)
commit937b1737dad1c93fc903558a19098b403e32314c
tree720dd06d5380add906cf56aae779f9328baa3f13
parente0411c6b56855fa5196159f9fce2c4d3e3d886ce
Do not test CHUNK_SIZE allocation if no mmap() available (test_malloc)
(fix commit 29d91db)

* tests/test_malloc.c (main): Do not call AO_malloc(CHUNK_SIZE) unless
HAVE_MMAP.
tests/test_malloc.c