Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-04 | merged from lp:~donkult/apt/experimental | Michael Vogt | |
2012-08-28 | merged from the debian-sid branch | Michael Vogt | |
2012-08-28 | merged loginsize fix from lp:~mvo/apt/mvo | Michael Vogt | |
2012-08-28 | apt-pkg/contrib/netrc.cc: use a slightly smaller login/password size | Michael Vogt | |
2012-08-13 | make netrc parser more robust and parser biger login tokens, thanks to "TJ" ↵ | Michael Vogt | |
(LP: #1008289) | |||
2012-08-04 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- remove _POSIX_SYNCHRONIZED_IO guard in FileFd::Sync() around fsync as this guard is only needed for fdatasync and not defined on hurd | |||
2012-08-04 | move the sysconf call behind the _POSIX_SYNCHRONIZED_IO guard there | David Kalnischkies | |
it is used for the msync call | |||
2012-08-04 | apt-pkg/contrib/mmap.cc: | Pino Toscano | |
- guard only the msync call with _POSIX_SYNCHRONIZED_IO rather than also the fallback code as it breaks APT on hurd since 0.9.7.3 as the fallback is now always used on non-linux (Closes: #683354) | |||
2012-07-24 | for filesystems not supporting mmap'ing a file we need to use a | David Kalnischkies | |
SyncToFd dummy just as we did for compressed files in 0.9.5 | |||
2012-07-24 | trigger the usage of the fallback code for kfreebsd also in the | David Kalnischkies | |
second (filebased) constructor of DynamicMMap (Closes: #677704) | |||
2012-07-20 | * apt-pkg/contrib/mmap.cc: | David Kalnischkies | |
- refer to APT::Cache-Start in case the growing failed as if -Limit is really the offender it will be noted in a previous error message. | |||
2012-07-10 | cherry pick -r1847 from bzr+ssh://bazaar.launchpad.net/~mvo/apt/lp346386/ | Michael Vogt | |
2012-07-10 | cherry pick -r1846 from bzr+ssh://bazaar.launchpad.net/~mvo/apt/lp346386/ | Michael Vogt | |
2012-07-10 | merged the relevant bits from lp:~mvo/apt/lp346386 | Michael Vogt | |
2012-07-09 | * apt-pkg/contrib/strutl.cc: | David Kalnischkies | |
- support \n and \r\n line endings in ReadMessages | |||
2012-06-21 | update comments and add one FIXME for the next ABI break | Michael Vogt | |
2012-06-21 | check when finished downloading the InRelease file if it has the expected ↵ | Michael Vogt | |
gpg clearsign signature and if not download Release/Release.gpg instead | |||
2012-06-16 | Fix previous commit: Do not call memset() if realloc() returned NULL. | Julian Andres Klode | |
2012-06-16 | Zero out the new memory allocated with realloc(). | Julian Andres Klode | |
2012-06-16 | * apt-pkg/contrib/mmap.cc: | Julian Andres Klode | |
- Fix the Fallback option to work correctly, by not calling realloc() on a map mapped by mmap(), and by using malloc and friends instead of new[]. | |||
2012-06-09 | fix segfault with empty LongOpt in --no-* branch | David Kalnischkies | |
2012-06-09 | * apt-pkg/contrib/cmdline.cc: | Daniel Hartwig | |
- apply patch from Daniel Hartwig to fix a segfault in case the LongOpt is empty (Closes: #676331) | |||
2012-05-22 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- dup() given compressed fd in OpenDescriptor if AutoClose is disabled as otherwise gzclose() and co will close it | |||
2012-05-21 | * apt-pkg/contrib/mmap.cc: | David Kalnischkies | |
- have a dummy SyncToFd around in case of ReadOnly access to a compressed file as we otherwise on Close() do not delete[] the char buffer but munmap() it… (Closes: #673815) | |||
2012-05-16 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- ensure that we close compressed fds, wait for forks and such even if the FileFd itself is set to not autoclose the given Fd | |||
2012-05-10 | ensure that d is set before accessing it | David Kalnischkies | |
2012-05-10 | ensure that in error conditions the Fail flag is set | David Kalnischkies | |
2012-05-10 | collect zombie (de)compressor processes on reopen | David Kalnischkies | |
2012-05-09 | ensure that we do init d only once and especially not with its own | David Kalnischkies | |
content as this causes some "interesting" hickups resulting in segfaults as it seems (Closes: #554387, #670979) | |||
2012-05-09 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- check that the fd which are closed are valid | |||
2012-04-23 | /dev/null is a special absolute path as it has no subdirectories | David Kalnischkies | |
2012-04-23 | normalize a bit by replacing // and /./ with / in FindFile | David Kalnischkies | |
2012-04-22 | * apt-pkg/contrib/configuration.cc: | David Kalnischkies | |
- add a more versatile Dump() method | |||
2012-04-21 | * apt-pkg/contrib/strutl.cc: | David Kalnischkies | |
- remove the message size limit from ioprintf and strprintf | |||
2012-04-20 | * apt-pkg/contrib/sha2_internal.cc: | David Kalnischkies | |
- do not use the input data directly but memcpy it instead as it could be unaligned as in the http-transport which causes a sigbus error on sparc (Closes: #669061) | |||
2012-04-19 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- redirect stderr from compressors to /dev/null | |||
2012-04-11 | use a static FileFd::Write overload to reduce duplication of write()-retry code | David Kalnischkies | |
2012-04-05 | - add libbz2-dev as new build-dependency | David Kalnischkies | |
- remove the libz-dev alternative from zlib1g-dev build-dependency - do the same for bz2 builtin if available * apt-pkg/contrib/fileutl.cc: - use libz2 library for (de)compression instead of the bzip2 binary as the first is a dependency of dpkg and the later just priority:optional so we gain 'easier' access to bz2-compressed Translation files this way | |||
2012-04-05 | if we have zlib builtin insert add a dummy gzip compressor for FileFD | David Kalnischkies | |
2012-04-05 | detect zlib correctly. We still don't allow to build without it to remain | David Kalnischkies | |
compatible with users accessing it directly, but this prepares for a drop of this strict requirement in the future | |||
2012-03-20 | * apt-pkg/acquire-worker.cc: | David Kalnischkies | |
- check return of write() as gcc recommends * apt-pkg/acquire.cc: - check return of write() as gcc recommends * apt-pkg/cdrom.cc: - check return of chdir() and link() as gcc recommends * apt-pkg/clean.cc: - check return of chdir() as gcc recommends * apt-pkg/contrib/netrc.cc: - check return of asprintf() as gcc recommends | |||
2012-03-06 | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | |
- do not warn about the ignoring of directories (Closes: #662762) | |||
2012-03-05 | as we parse datestrings from external sources a lot specify the length | David Kalnischkies | |
of the integer fields as well to avoid crashes in scanf as cppchecks warns: "(warning) scanf without field width limits can crash with huge input data" | |||
2012-02-11 | * apt-pkg/cachefile.cc: | David Kalnischkies | |
- clean up lost atomic cachefiles with 'clean' (Closes: #650513) | |||
2012-02-03 | rework previous patch to avoid changing the inline code | Michael Vogt | |
2012-02-03 | * apt-pkg/contrib/fileutl.h: | Michael Vogt | |
- fix compat with FileFd::OpenDescriptor() in ReadOnlyGzip mode | |||
2012-01-30 | * apt-pkg/contrib/configuration.cc: | David Kalnischkies | |
- do not stop parent transversal in FindDir if the value is empty See http://lists.debian.org/deity/2012/01/msg00053.html , too. | |||
2012-01-18 | * apt-pkg/contrib/fileutl.h: | David Kalnischkies | |
- store the offset in the internal fd before calculate size of the zlib-handled file to jump back to this place again It jumped back to the position of the content - which is wrong as the internal fd is compressed and even reseting to the beginning of the file doesn't work as zlib uses an internal buffer, so while we might haven't read anything yet zlib might have done so already… | |||
2012-01-18 | improve error reporting in case of errors in combination with zlib | David Kalnischkies | |
2012-01-16 | * apt-pkg/contrib/fileutils.h: | Michael Vogt | |
- fix segfault from python-apt testsuite |