summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-05-201-1/+1
| | | | - longcode Translation files are saved with encoded underscore, so make sure to pick these files up as well for Acquire::Languages
* * apt-pkg/packagemanager.cc:David Kalnischkies2012-05-191-1/+1
| | | - do not run into loop on new-pre-depends-breaks (Closes: #673536)
* * cmdline/apt-get.cc:David Kalnischkies2012-05-161-0/+1
| | | | | - use the host architecture, not the build architecture for matching of [architecture restrictions] in Build-Depends (Closes: #672927) *
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2012-05-161-24/+41
| | | | - ensure that we close compressed fds, wait for forks and such even if the FileFd itself is set to not autoclose the given Fd
* * apt-pkg/algorithms.cc:Marius Vollmer2012-05-152-0/+7
| | | | - fix memory leak of Flags in pkgSimulate by a proper destructor
* * apt-pkg/acquire*.cc:Raphael Geissert2012-05-143-20/+52
| | | | | | | - handle redirections in the worker with the right method instead of in the method the redirection occured in (Closes: #668111) * methods/http.cc: - forbid redirects to change protocol
* * apt-pkg/acquire-methods.cc:David Kalnischkies2012-05-142-13/+13
| | | - factor out into private Dequeue() to fix access to deleted pointer
* * apt-pkg/pkgcachegen.cc:David Kalnischkies2012-05-121-2/+2
| | | | - make IsDuplicatedDescription static so that it is really private as we don't need a symbol for it as it is not in a header
* * apt-pkg/algorithms.cc:David Kalnischkies2012-05-102-12/+29
| | | | - factor out of ListUpdate a AcquireUpdate to be able to provide your own pkgAcquire fetcher to the wrapper
* ensure that d is set before accessing itDavid Kalnischkies2012-05-101-41/+50
|
* fix calling style of FileFd (no functional change)David Kalnischkies2012-05-101-3/+3
|
* ensure that in error conditions the Fail flag is setDavid Kalnischkies2012-05-101-3/+46
|
* collect zombie (de)compressor processes on reopenDavid Kalnischkies2012-05-101-1/+14
|
* ensure that we do init d only once and especially not with its ownDavid Kalnischkies2012-05-091-5/+6
| | | | content as this causes some "interesting" hickups resulting in segfaults as it seems (Closes: #554387, #670979)
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-05-091-3/+3
| | | - use NULL instead of "" for no (un)compress parameters
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2012-05-091-3/+7
| | | - check that the fd which are closed are valid
* * apt-pkg/acquire-worker.cc:YOSHINO Yoshihito2012-05-071-3/+10
| | | | | | - revert the use of FileFd::Write in OutFdReady as we don't want error reports about EAGAIN here as we retry later. Thanks to YOSHINO Yoshihito for the report. (Closes: #671721)
* ensure that apti18n.h is included last as advertised (Closes: #671623)David Kalnischkies2012-05-052-3/+4
|
* check if we work on a valid description in IsDuplicateDescription asDavid Kalnischkies2012-05-051-2/+2
| | | | we end up working on dangling pointers otherwise which segfaults on s390x and ppc64 (Closes: #669427)
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-05-021-5/+12
| | | - check length and containing chars for a given description md5sum
* * apt-pkg/pkgcachegen.cc:David Kalnischkies2012-05-021-0/+6
| | | - check if NewDescription allocation has failed and error out accordingly
* provider is only a possible solution if the provides has the rightDavid Kalnischkies2012-04-231-1/+1
| | | | version (or none as we have no versioned provides in debian) and not if the version of the provider matches
* /dev/null is a special absolute path as it has no subdirectoriesDavid Kalnischkies2012-04-231-0/+9
|
* normalize a bit by replacing // and /./ with / in FindFileDavid Kalnischkies2012-04-231-30/+38
|
* * edsp/edspsystem.cc:David Kalnischkies2012-04-231-1/+1
| | | | - check with RealFileExists for scenario file as otherwise a directory like one provided with RootDir triggers the usage of EDSP
* * apt-pkg/depcache.cc:David Kalnischkies2012-04-231-12/+13
| | | | | - clearly separate 'positive' and 'negative' dependencies and their upgrade-resolution tries in MarkInstall and especially don't treat Conflicts differently compared to Breaks here
* * apt-pkg/cdrom.cc:David Kalnischkies2012-04-221-19/+2
| | | - use Dump() to generate the configuration output
* * apt-pkg/acquire-worker.cc:David Kalnischkies2012-04-221-30/+9
| | | - use Dump() to generate the configuration message for sending
* * apt-pkg/contrib/configuration.cc:David Kalnischkies2012-04-222-8/+66
| | | - add a more versatile Dump() method
* * apt-pkg/contrib/strutl.cc:David Kalnischkies2012-04-211-20/+37
| | | - remove the message size limit from ioprintf and strprintf
* merged from bzr+ssh://bazaar.launchpad.net/~donkult/apt/sid/Michael Vogt2012-04-201-2/+4
|\
| * fix a bug uncovered by the previous commit which checks if a CompressorDavid Kalnischkies2012-04-201-2/+4
| | | | | | | | | | preference given by the Order setting is really available before adding it as possible CompressionType.
* | merged from lp:~donkult/apt/sidMichael Vogt2012-04-207-22/+42
|\|
| * * apt-pkg/cacheset.cc:David Kalnischkies2012-04-201-2/+5
| | | | | | | | - actually return to the fallback modifier if we have detected we should for packagenames which look like modifiers (Closes: #669591)
| * * apt-pkg/contrib/sha2_internal.cc:David Kalnischkies2012-04-201-2/+6
| | | | | | | | | | - 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)
| * * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-04-201-12/+13
| | | | | | | | - if the compressor is not installed, but we link against it's library accept it as a CompressionType (Closes: #669328)
| * * apt-pkg/packagemanager.cc:Malcolm Scott2012-04-191-2/+2
| | | | | | | | | | - iterate over all pre-depends or-group member instead of looping endlessly over the first member in SmartUnpack (LP: #985852)
| * * apt-pkg/contrib/fileutl.cc:David Kalnischkies2012-04-191-0/+6
| | | | | | - redirect stderr from compressors to /dev/null
| * * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-04-181-2/+8
| | | | | | - only treat the native apt as essential by default
| * newer gcc versions seems to have no problem with that, but while workingDavid Kalnischkies2012-04-171-2/+2
| | | | | | | | with g++-4.1 it complains about this so lets be extra clear
* | merge from the lp:~mvo/apt/mvo branchMichael Vogt2012-04-201-1/+5
|\ \ | |/ |/|
| * cherry pick r1975 from lp:~ubuntu-core-dev/apt/ubuntuMichael Vogt2012-04-201-0/+1
| |
| * * apt-pkg/deb/dpkgpm.cc:Michael Vogt2012-03-271-1/+4
| | | | | | | | | | - do not crash if (*I).Pkg is NULL (LP: #939867)
* | * apt-pkg/packagemanager.cc:David Kalnischkies2012-04-161-1/+1
| | | | | | | | - init counter in SmartConfigure so that the loop-breaker isn't triggered at random… (Closes: #669060)
* | apt-pkg/packagemanager.cc: tweak MaxLoopCount to 500 and improve the error ↵Michael Vogt2012-04-121-3/+3
| | | | | | | | message
* | merged from donkults experimental branchMichael Vogt2012-04-1111-64/+206
|\ \ | |/ |/|
| * use a static FileFd::Write overload to reduce duplication of write()-retry codeDavid Kalnischkies2012-04-115-66/+34
| |
| * use xz-utils in the testcases instead of lzma and ensure that we reallyDavid Kalnischkies2012-04-111-1/+1
| | | | | | | | ignore the presents (or absence) of lzma if we decided to use xz
| * - add libbz2-dev as new build-dependencyDavid Kalnischkies2012-04-053-11/+110
| | | | | | | | | | | | | | | | - 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
| * if we have zlib builtin insert add a dummy gzip compressor for FileFDDavid Kalnischkies2012-04-052-1/+4
| |