summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/mmap.cc
AgeCommit message (Collapse)Author
2009-07-21The 'not dead yet' releaseMichael Vogt
* add hook for MarkInstall and MarkDelete (closes: #470035) * add the various foldmarkers in apt-pkg & cmdline (no code change) * versions with a pin of -1 shouldn't be a candidate (Closes: #355237) * prefer mmap as memory allocator in MMap instead of a static char array which can (at least in theory) grow dynamic * eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.cc which can arise if cache doesn't fit into the mmap (Closes: #535218) * display warnings instead of errors if the parts dirs doesn't exist * honor the dpkg hold state in new Marker hooks (closes: #64141)
2009-07-21eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.ccDavid Kalnischkies
which can arise if cache doesn't fit into the mmap (Closes: #535218) This removes also the previously introduced SegfaultSignalHandler: The handler works, but is ugly by design...
2009-07-08add a segfault handler to MMap to show the Cache-Limit message, whichDavid Kalnischkies
can be deactivated with MMap::SegfaultHandler=false (Closes: 535218)
2009-07-08[contrib/mmap] implements a theoretical dynamic growing mmapDavid Kalnischkies
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...
2008-11-26Added instruction how to work around MMap error in MMap error message.Eugene V. Lyubimkin
2008-10-28fix various -Wall warningsMichael Vogt
2007-09-27* apt-pkg/acquire-item.cc:Michael Vogt
- fix crash in diff acquire code * apt-pkg/contrib/mmap.cc: - don't fail if msync() returns > 0
2007-09-10* make apt build with g++ 4.3Michael Vogt
2007-06-08* remove all the remaining #pragma implementationMichael Vogt
2005-09-28* leak fix for debian #250583Michael Vogt
2004-09-20Ensure the memory buffer is 0'dArch Librarian
Author: jgg Date: 2001-05-27 05:19:30 GMT Ensure the memory buffer is 0'd
2004-09-20Join with aliencodeArch Librarian
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
2004-09-20More or group patchesArch Librarian
Author: jgg Date: 1999-10-02 04:14:53 GMT More or group patches
2004-09-20Fixed msync thingyArch Librarian
Author: jgg Date: 1999-08-30 04:20:26 GMT Fixed msync thingy
2004-09-20Fixed sign conversionArch Librarian
Author: jgg Date: 1999-08-28 01:49:07 GMT Fixed sign conversion
2004-09-20A few functions migrated aroundArch Librarian
Author: jgg Date: 1999-08-02 03:07:47 GMT A few functions migrated around
2004-09-20Small range check bugArch Librarian
Author: jgg Date: 1999-07-18 05:58:40 GMT Small range check bug
2004-09-20Support for memory-only cachingArch Librarian
Author: jgg Date: 1999-04-18 06:36:36 GMT Support for memory-only caching
2004-09-20Fixes for mmap and yodlArch Librarian
Author: jgg Date: 1999-03-18 04:32:45 GMT Fixes for mmap and yodl
2004-09-20Backed out previous apt-pkg/contrib/mmap.cc fix/kludge/...Arch Librarian
Author: doogie Date: 1999-03-18 04:10:21 GMT Backed out previous apt-pkg/contrib/mmap.cc fix/kludge/change.
2004-09-20modified apt-pkg/contrib/mmap.cc to not use the define ...Arch Librarian
Author: doogie Date: 1999-03-18 03:20:24 GMT modified apt-pkg/contrib/mmap.cc to not use the define PAGE_SIZE by removing '#include <sys/user.h>' and adding 'static int PAGE_SIZE = getpagesize();' to msync();
2004-09-20Fix for hurdArch Librarian
Author: jgg Date: 1999-02-05 02:26:13 GMT Fix for hurd
2004-09-20Needs Unpack fixesArch Librarian
Author: jgg Date: 1998-11-23 07:02:58 GMT Needs Unpack fixes
2004-09-20Widened the mmap sizeArch Librarian
Author: jgg Date: 1998-11-12 03:14:39 GMT Widened the mmap size
2004-09-20Progress and combined cache generatorArch Librarian
Author: jgg Date: 1998-07-26 04:49:26 GMT Progress and combined cache generator
2004-09-20Class File name change to FileFdArch Librarian
Author: jgg Date: 1998-07-19 04:42:10 GMT Class File name change to FileFd
2004-09-20Compile of apt-cacheArch Librarian
Author: jgg Date: 1998-07-15 05:56:42 GMT Compile of apt-cache
2004-09-20First draft of make system and name change to apt-pkgArch Librarian
Author: jgg Date: 1998-07-12 23:58:20 GMT First draft of make system and name change to apt-pkg
2004-09-20SyncArch Librarian
Author: jgg Date: 1998-07-07 04:17:00 GMT Sync
2004-09-20CheckpointArch Librarian
Author: jgg Date: 1998-07-04 22:32:11 GMT Checkpoint
2004-09-20CheckpointArch Librarian
Author: jgg Date: 1998-07-04 05:57:34 GMT Checkpoint
2004-09-20Base revisionsArch Librarian
Author: jgg Date: 1998-07-02 02:58:12 GMT Base revisions