[contrib/mmap] implements a theoretical dynamic growing mmap
authorDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 7 Jul 2009 23:03:15 +0000 (01:03 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 7 Jul 2009 23:03:15 +0000 (01:03 +0200)
commitf1c6a8ca0511c623a16bb804ed2c5b6c26c83d78
tree92ba34080e48a63c143fffba58da3b79698025f6
parentc3a85f49fd8c82326707ce870c2b11b587fd0bd1
[contrib/mmap] implements a theoretical dynamic growing mmap
based on Michael Vogts patch in #195018 this commit implements the use
of mmap (as preferred) instead of a static char array. In theory this
made it possible to grow the mmap as needed, but as it is currently
impossible to move the mmap around in the memory the grow is likely
to fail but it improve the memory usage a bit, so it is not totally
useless for now - and maybe we can adjust the pointers in the future...
apt-pkg/contrib/mmap.cc
apt-pkg/contrib/mmap.h
debian/changelog