aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_uninstall.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-10 12:51:23 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-10 12:51:23 +0100
commit9bdf137a640f671c42a5c4e0998382cc03504a5b (patch)
tree6d1b96f95be7c6bda992fab2f7c2a94177639a3d /src/clients/cave/cmd_uninstall.cc
parent0316b5a84ed09e910ea388517d87385475fc1ae8 (diff)
downloadpaludis-9bdf137a640f671c42a5c4e0998382cc03504a5b.tar.gz
paludis-9bdf137a640f671c42a5c4e0998382cc03504a5b.tar.xz
Better reasons for fix-linkage
Fixes: ticket:861
Diffstat (limited to 'src/clients/cave/cmd_uninstall.cc')
-rw-r--r--src/clients/cave/cmd_uninstall.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_uninstall.cc b/src/clients/cave/cmd_uninstall.cc
index bf20839b1..fac160393 100644
--- a/src/clients/cave/cmd_uninstall.cc
+++ b/src/clients/cave/cmd_uninstall.cc
@@ -111,7 +111,8 @@ UninstallCommand::run(
cmdline.resolution_options->apply_shortcuts();
cmdline.resolution_options->verify(env);
- std::tr1::shared_ptr<Sequence<std::string> > targets(new Sequence<std::string>), targets_cleaned_up(new Sequence<std::string>);
+ std::tr1::shared_ptr<Sequence<std::pair<std::string, std::string> > > targets(new Sequence<std::pair<std::string, std::string> >);
+ std::tr1::shared_ptr<Sequence<std::string> > targets_cleaned_up(new Sequence<std::string>);
for (UninstallCommandLine::ParametersConstIterator p(cmdline.begin_parameters()), p_end(cmdline.end_parameters()) ;
p != p_end ; ++p)
{
@@ -130,7 +131,7 @@ UninstallCommand::run(
std::string target("!" + stringify((*i)->name()));
if ((*i)->slot_key())
target.append(":" + stringify((*i)->slot_key()->value()));
- targets->push_back(target);
+ targets->push_back(std::make_pair(target, ""));
}
targets_cleaned_up->push_back("!" + stringify((*ids->begin())->name()));