Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | 2012-05-22 | 1 | -4/+15 |
| | | | | - dup() given compressed fd in OpenDescriptor if AutoClose is disabled as otherwise gzclose() and co will close it | ||||
* | * apt-pkg/contrib/mmap.cc: | David Kalnischkies | 2012-05-21 | 1 | -0/+1 |
| | | | | | - 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) | ||||
* | * apt-pkg/aptconfiguration.cc: | David Kalnischkies | 2012-05-20 | 1 | -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 Kalnischkies | 2012-05-19 | 1 | -1/+1 |
| | | | - do not run into loop on new-pre-depends-breaks (Closes: #673536) | ||||
* | * cmdline/apt-get.cc: | David Kalnischkies | 2012-05-16 | 1 | -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 Kalnischkies | 2012-05-16 | 1 | -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 Vollmer | 2012-05-15 | 2 | -0/+7 |
| | | | | - fix memory leak of Flags in pkgSimulate by a proper destructor | ||||
* | * apt-pkg/acquire*.cc: | Raphael Geissert | 2012-05-14 | 3 | -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 Kalnischkies | 2012-05-14 | 2 | -13/+13 |
| | | | - factor out into private Dequeue() to fix access to deleted pointer | ||||
* | * apt-pkg/pkgcachegen.cc: | David Kalnischkies | 2012-05-12 | 1 | -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 Kalnischkies | 2012-05-10 | 2 | -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 it | David Kalnischkies | 2012-05-10 | 1 | -41/+50 |
| | |||||
* | fix calling style of FileFd (no functional change) | David Kalnischkies | 2012-05-10 | 1 | -3/+3 |
| | |||||
* | ensure that in error conditions the Fail flag is set | David Kalnischkies | 2012-05-10 | 1 | -3/+46 |
| | |||||
* | collect zombie (de)compressor processes on reopen | David Kalnischkies | 2012-05-10 | 1 | -1/+14 |
| | |||||
* | ensure that we do init d only once and especially not with its own | David Kalnischkies | 2012-05-09 | 1 | -5/+6 |
| | | | | content as this causes some "interesting" hickups resulting in segfaults as it seems (Closes: #554387, #670979) | ||||
* | * apt-pkg/aptconfiguration.cc: | David Kalnischkies | 2012-05-09 | 1 | -3/+3 |
| | | | - use NULL instead of "" for no (un)compress parameters | ||||
* | * apt-pkg/contrib/fileutl.cc: | David Kalnischkies | 2012-05-09 | 1 | -3/+7 |
| | | | - check that the fd which are closed are valid | ||||
* | * apt-pkg/acquire-worker.cc: | YOSHINO Yoshihito | 2012-05-07 | 1 | -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 Kalnischkies | 2012-05-05 | 2 | -3/+4 |
| | |||||
* | check if we work on a valid description in IsDuplicateDescription as | David Kalnischkies | 2012-05-05 | 1 | -2/+2 |
| | | | | we end up working on dangling pointers otherwise which segfaults on s390x and ppc64 (Closes: #669427) | ||||
* | * apt-pkg/deb/deblistparser.cc: | David Kalnischkies | 2012-05-02 | 1 | -5/+12 |
| | | | - check length and containing chars for a given description md5sum | ||||
* | * apt-pkg/pkgcachegen.cc: | David Kalnischkies | 2012-05-02 | 1 | -0/+6 |
| | | | - check if NewDescription allocation has failed and error out accordingly | ||||
* | provider is only a possible solution if the provides has the right | David Kalnischkies | 2012-04-23 | 1 | -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 subdirectories | David Kalnischkies | 2012-04-23 | 1 | -0/+9 |
| | |||||
* | normalize a bit by replacing // and /./ with / in FindFile | David Kalnischkies | 2012-04-23 | 1 | -30/+38 |
| | |||||
* | * edsp/edspsystem.cc: | David Kalnischkies | 2012-04-23 | 1 | -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 Kalnischkies | 2012-04-23 | 1 | -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 Kalnischkies | 2012-04-22 | 1 | -19/+2 |
| | | | - use Dump() to generate the configuration output | ||||
* | * apt-pkg/acquire-worker.cc: | David Kalnischkies | 2012-04-22 | 1 | -30/+9 |
| | | | - use Dump() to generate the configuration message for sending | ||||
* | * apt-pkg/contrib/configuration.cc: | David Kalnischkies | 2012-04-22 | 2 | -8/+66 |
| | | | - add a more versatile Dump() method | ||||
* | * apt-pkg/contrib/strutl.cc: | David Kalnischkies | 2012-04-21 | 1 | -20/+37 |
| | | | - remove the message size limit from ioprintf and strprintf | ||||
* | merged from bzr+ssh://bazaar.launchpad.net/~donkult/apt/sid/ | Michael Vogt | 2012-04-20 | 1 | -2/+4 |
|\ | |||||
| * | fix a bug uncovered by the previous commit which checks if a Compressor | David Kalnischkies | 2012-04-20 | 1 | -2/+4 |
| | | | | | | | | | | preference given by the Order setting is really available before adding it as possible CompressionType. | ||||
* | | merged from lp:~donkult/apt/sid | Michael Vogt | 2012-04-20 | 7 | -22/+42 |
|\| | |||||
| * | * apt-pkg/cacheset.cc: | David Kalnischkies | 2012-04-20 | 1 | -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 Kalnischkies | 2012-04-20 | 1 | -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 Kalnischkies | 2012-04-20 | 1 | -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 Scott | 2012-04-19 | 1 | -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 Kalnischkies | 2012-04-19 | 1 | -0/+6 |
| | | | | | | - redirect stderr from compressors to /dev/null | ||||
| * | * apt-pkg/deb/deblistparser.cc: | David Kalnischkies | 2012-04-18 | 1 | -2/+8 |
| | | | | | | - only treat the native apt as essential by default | ||||
| * | newer gcc versions seems to have no problem with that, but while working | David Kalnischkies | 2012-04-17 | 1 | -2/+2 |
| | | | | | | | | with g++-4.1 it complains about this so lets be extra clear | ||||
* | | merge from the lp:~mvo/apt/mvo branch | Michael Vogt | 2012-04-20 | 1 | -1/+5 |
|\ \ | |/ |/| | |||||
| * | cherry pick r1975 from lp:~ubuntu-core-dev/apt/ubuntu | Michael Vogt | 2012-04-20 | 1 | -0/+1 |
| | | |||||
| * | * apt-pkg/deb/dpkgpm.cc: | Michael Vogt | 2012-03-27 | 1 | -1/+4 |
| | | | | | | | | | | - do not crash if (*I).Pkg is NULL (LP: #939867) | ||||
* | | * apt-pkg/packagemanager.cc: | David Kalnischkies | 2012-04-16 | 1 | -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 Vogt | 2012-04-12 | 1 | -3/+3 |
| | | | | | | | | message | ||||
* | | merged from donkults experimental branch | Michael Vogt | 2012-04-11 | 11 | -64/+206 |
|\ \ | |/ |/| | |||||
| * | use a static FileFd::Write overload to reduce duplication of write()-retry code | David Kalnischkies | 2012-04-11 | 5 | -66/+34 |
| | | |||||
| * | use xz-utils in the testcases instead of lzma and ensure that we really | David Kalnischkies | 2012-04-11 | 1 | -1/+1 |
| | | | | | | | | ignore the presents (or absence) of lzma if we decided to use xz |