aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-18 20:15:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-18 20:15:37 +0000
commit09bec8615b4869444d5d0fb103454f93d23aa556 (patch)
treefd5604b80dab46536a3f177a2459c490f2c196c8
parent30af7bb578f33aefe00a88dc96beca3035bebcf4 (diff)
downloadpaludis-09bec8615b4869444d5d0fb103454f93d23aa556.tar.gz
paludis-09bec8615b4869444d5d0fb103454f93d23aa556.tar.xz
Mark all USE flags as masked / forced for VDB entries.
-rw-r--r--paludis/repositories/vdb/vdb_repository.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/repositories/vdb/vdb_repository.cc b/paludis/repositories/vdb/vdb_repository.cc
index f7ecd8a..1e75194 100644
--- a/paludis/repositories/vdb/vdb_repository.cc
+++ b/paludis/repositories/vdb/vdb_repository.cc
@@ -709,15 +709,15 @@ VDBRepository::do_query_use(const UseFlagName & f,
}
bool
-VDBRepository::do_query_use_mask(const UseFlagName &, const PackageDatabaseEntry *) const
+VDBRepository::do_query_use_mask(const UseFlagName & u, const PackageDatabaseEntry * e) const
{
- return false;
+ return use_disabled == do_query_use(u, e);
}
bool
-VDBRepository::do_query_use_force(const UseFlagName &, const PackageDatabaseEntry *) const
+VDBRepository::do_query_use_force(const UseFlagName & u, const PackageDatabaseEntry * e) const
{
- return false;
+ return use_enabled == do_query_use(u, e);
}
CountedPtr<Repository>