summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/mmap.h
AgeCommit message (Collapse)Author
2018-05-05Fix various typos reported by spellcheckersDavid Kalnischkies
Reported-By: codespell & spellintian Gbp-Dch: Ignore
2017-12-13convert various c-style casts to C++-styleDavid Kalnischkies
gcc was warning about ignored type qualifiers for all of them due to the last 'const', so dropping that and converting to static_cast in the process removes the here harmless warning to avoid hidden real issues in them later on. Reported-By: gcc Gbp-Dch: Ignore
2017-07-12Reformat and sort all includes with clang-formatJulian Andres Klode
This makes it easier to see which headers includes what. The changes were done by running git grep -l '#\s*include' \ | grep -E '.(cc|h)$' \ | xargs sed -i -E 's/(^\s*)#(\s*)include/\1#\2 include/' To modify all include lines by adding a space, and then running ./git-clang-format.sh.
2017-01-19fix various typos reported by spellintianDavid Kalnischkies
Most of them in (old) code comments. The two instances of user visible string changes the po files of the manpages are fixed up as well. Gbp-Dch: Ignore Reported-By: spellintian
2014-02-22Fix typos in documentation (codespell)Michael Vogt
2011-12-13revert 2184.1.3: forward declaration instead of headersDavid Kalnischkies
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-12-13revert 2184.1.2: do not pollute namespace in headersDavid Kalnischkies
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-02-14* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- really detect bigendian machines by including config.h, so we can really (Closes: #612986) * apt-pkg/contrib/mmap.cc: - Base has as 'valid' failure states 0 and -1 so add a simple validData method to check for failure states
2011-02-13update size of dynamic MMap as we write in from the outsideDavid Kalnischkies
2010-02-27* apt-pkg/contrib/mmap.{h,cc}:David Kalnischkies
- add char[] fallback for filesystems without shared writable mmap() like JFFS2. Thanks to Marius Vollmer for writing and to Loïc Minier for pointing to the patch! (Closes: #314334)
2009-11-09extent the mmap to be able to handle currently not implementedDavid Kalnischkies
(but planed) growable mmaps
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...
2006-10-02* remove the remaining #ifdef __GNUG__ bitsMichael Vogt
2006-10-02* removed the pragma messMichael Vogt
2005-11-23* applied parts of the string speedup patch from debian #319377 (ABI change)Michael Vogt
2004-09-20G++3 fixes from RandolphArch Librarian
Author: jgg Date: 2001-05-14 05:16:43 GMT G++3 fixes from Randolph
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-20Added a depends option to apt-cacheArch Librarian
Author: jgg Date: 1999-07-15 03:15:48 GMT Added a depends option to apt-cache
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-20Dsync mergeArch Librarian
Author: jgg Date: 1999-01-18 06:20:07 GMT Dsync merge
2004-09-20Widened the mmap sizeArch Librarian
Author: jgg Date: 1998-11-12 03:14:39 GMT Widened the mmap size
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 05:57:34 GMT Checkpoint
2004-09-20Base revisionsArch Librarian
Author: jgg Date: 1998-07-02 02:58:12 GMT Base revisions