(mempool_alloc): When resizing the file make sure the limit in
authordrepper <drepper>
Tue, 23 Aug 2005 23:15:28 +0000 (23:15 +0000)
committerdrepper <drepper>
Tue, 23 Aug 2005 23:15:28 +0000 (23:15 +0000)
commit3d0386dfef5918ddeddcb0a7d314e83fc522299e
tree8dae17aee84526eaaed65c2fae7b244491f2c3ca
parent6913a7af2a6542a68dc27b1ea731168c78e8420c
(mempool_alloc): When resizing the file make sure the limit in
max_db_size is not exceeded.  Don't use mremap, just posix_fallocate
is enough (according to Linus).  Use posix_fallocate correctly.
nscd/mem.c