summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-07-091-1/+2
| | | | - negative dependencies need to apply to all architectures, but those with a specific architecture only apply to this one
* * apt-pkg/clean.cc:David Kalnischkies2012-07-051-2/+3
| | | | - run autoclean against pkg:arch and not always against pkg:native as this removes valid cache entries (Closes: #679371)
* merged from donkultMichael Vogt2012-06-199-62/+180
|\
| * do not dereference the storage for the unique strings as the pointer canDavid Kalnischkies2012-06-163-9/+13
| | | | | | | | | | change at the time of writing the strings, so first store it temporary and then save the index in the (possibily new) pointer location
| * * apt-pkg/pkgcache.cc:David Kalnischkies2012-06-141-1/+1
| | | | | | | | - do a string comparision for architecture checking in IsMultiArchImplicit as 'unique' strings in the pkgcache aren't unique (Closes: #677454)
| * * apt-pkg/pkgcachegen.cc:Daniel Hartwig2012-06-141-2/+3
| | | | | | | | - always reset _error->StackCount in MakeStatusCache (Closes: #677175)
| * * apt-pkg/cacheset.cc:David Kalnischkies2012-06-142-4/+51
| | | | | | | | - add PackageContainerInterface::FromGroup to support architecture specifications with wildcards on the commandline
| * * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-06-143-27/+86
| | | | | | | | | | - use PackageArchitectureMatchesSpecification filter * apt-pkg/cachefilter.cc: - add PackageArchitectureMatchesSpecification (Closes: #672603)
| * * deb/deblistparser.cc:David Kalnischkies2012-06-141-23/+30
| | | | | | | | - ensure that mixed positive/negative architecture wildcards are handled in the same way as dpkg handles them
* | Fix previous commit: Do not call memset() if realloc() returned NULL.Julian Andres Klode2012-06-161-2/+3
| |
* | Zero out the new memory allocated with realloc().Julian Andres Klode2012-06-161-0/+2
| |
* | * apt-pkg/contrib/mmap.cc:Julian Andres Klode2012-06-161-9/+8
|/ | | | | - 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[].
* * apt-pkg/deb/deblistparser.cc:Thibaut Girka2012-06-112-4/+21
| | | | - add support for arch-specific qualifiers in dependencies
* * apt-pkg/cacheiterators.h:David Kalnischkies2012-06-113-9/+33
| | | - add an IsMultiArchImplicit() method for Dep- and PrvIterator
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-06-101-11/+15
| | | | - if APT::Languages=none save "none" in allCodes so that the detected configuration is cached as intended (Closes: #674690, LP: #1004947)
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-06-102-11/+35
| | | | | - set pkgCacheGen::Essential to "all" again (Closes: #675449) * apt-pkg/algorithms.cc: - force install only for one essential package out of a group
* fix segfault with empty LongOpt in --no-* branchDavid Kalnischkies2012-06-091-1/+2
|
* * apt-pkg/contrib/cmdline.cc:Daniel Hartwig2012-06-091-2/+3
| | | | | - apply patch from Daniel Hartwig to fix a segfault in case the LongOpt is empty (Closes: #676331)
* * apt-pkg/cdrom.cc:David Kalnischkies2012-06-091-1/+1
| | | | | - fix regression from 0.9.3 which dumped the main configuration _config instead of the cdrom settings (Cnf) as identified and tested by Milan Kupcevic, thanks! (Closes: #674100)
* * apt-pkg/contrib/fileutl.cc:David Kalnischkies2012-05-221-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 Kalnischkies2012-05-211-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 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