Age | Commit message (Collapse) | Author |
|
|
|
This prevents implicit conversions that we do not want, such
as having a FileFd* being converted to a debListParser.
Two cases are not yet handled because they require changes
in code using them:
1. The classes in hashes.h
2. The URI class - this one is used quite a lot
|
|
Prompted-by: Jakub Wilk <jwilk@debian.org>
|
|
Reported-By: codespell & spellintian
Gbp-Dch: Ignore
|
|
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
|
|
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.
|
|
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
|
|
|
|
The breakage is just to big for now, so guard the change with
#ifndef APT_8_CLEANER_HEADERS and be nice to library users
|
|
The breakage is just to big for now, so guard the change with
#ifndef APT_8_CLEANER_HEADERS and be nice to library users
|
|
|
|
|
|
size are pretty unlikely for now, but we need it for deb
packages which could become bigger than 4GB now (LP: #815895)
|
|
- 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
|
|
|
|
- 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)
|
|
(but planed) growable mmaps
|
|
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...
|
|
|
|
|
|
|
|
Author: jgg
Date: 2001-05-14 05:16:43 GMT
G++3 fixes from Randolph
|
|
Author: jgg
Date: 1999-08-02 03:07:47 GMT
A few functions migrated around
|
|
Author: jgg
Date: 1999-07-15 03:15:48 GMT
Added a depends option to apt-cache
|
|
Author: jgg
Date: 1999-04-18 06:36:36 GMT
Support for memory-only caching
|
|
Author: jgg
Date: 1999-01-18 06:20:07 GMT
Dsync merge
|
|
Author: jgg
Date: 1998-11-12 03:14:39 GMT
Widened the mmap size
|
|
Author: jgg
Date: 1998-07-19 04:42:10 GMT
Class File name change to FileFd
|
|
Author: jgg
Date: 1998-07-15 05:56:42 GMT
Compile of apt-cache
|
|
Author: jgg
Date: 1998-07-12 23:58:20 GMT
First draft of make system and name change to apt-pkg
|
|
Author: jgg
Date: 1998-07-07 04:17:00 GMT
Sync
|
|
Author: jgg
Date: 1998-07-04 05:57:34 GMT
Checkpoint
|
|
Author: jgg
Date: 1998-07-02 02:58:12 GMT
Base revisions
|