diff options
author | Raphaƫl Hertzog <hertzog@debian.org> | 2011-01-27 15:46:37 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2011-10-27 04:06:27 +0200 |
commit | 29118f3cf876edc41765065743c12b90e04a7198 (patch) | |
tree | 4d6fa72d0b9caf5fb860aad9c0879b53277052ed /src/enquiry.c | |
parent | 47e241d719b5d286fc6c21d3ace624ab9fdecbfe (diff) | |
download | dpkg-29118f3cf876edc41765065743c12b90e04a7198.tar.gz |
Move the reverse dependencies from struct pkgbin to struct pkgset
Reverse dependencies only consider the package name and not the package
architecture, so they should logically be part of pkgset and not pkgbin.
To reflect this, the next commit will fix struct depossi so that its ed
member points to a pkgset.
Sponsored-by: Linaro Limited
[guillem@debian.org:
- Move reverse dependencies into a new anonymous depended struct,
instead of two members; available_revdeps and installed_revdeps. ]
Signed-off-by: Guillem Jover <guillem@debian.org>
Diffstat (limited to 'src/enquiry.c')
-rw-r--r-- | src/enquiry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enquiry.c b/src/enquiry.c index 2e1591279..d692e1eff 100644 --- a/src/enquiry.c +++ b/src/enquiry.c @@ -418,7 +418,7 @@ predeppackage(const char *const *argv) if (trypkg->clientdata->istobe == itb_normal) { pkg= trypkg; break; } } if (possi->verrel != dvr_none) continue; - for (provider=possi->ed->available.depended; + for (provider = possi->ed->set->depended.available; !pkg && provider; provider=provider->next) { if (provider->up->type != dep_provides) continue; |