[Debtags-commits] [svn] r1570 - in debtags/trunk: . tools
Enrico Zini
enrico at costa.debian.org
Mon Feb 13 14:49:03 UTC 2006
Author: enrico
Date: Mon Feb 13 14:49:01 2006
New Revision: 1570
Modified:
debtags/trunk/ (props changed)
debtags/trunk/tools/Printer.h
debtags/trunk/tools/debtags.cc
Log:
r7295 at viaza: enrico | 2006-02-13 14:18:48 +0100
Ported to libapt-front 0.3.6
Modified: debtags/trunk/tools/Printer.h
==============================================================================
--- debtags/trunk/tools/Printer.h (original)
+++ debtags/trunk/tools/Printer.h Mon Feb 13 14:49:01 2006
@@ -58,7 +58,7 @@
{
if (blacklist.find(pkg) == blacklist.end())
{
- printf("%.*s - %.*s\n", PFSTR(pkg.name()), PFSTR(pkg.shortDescription("(short description not available)")));
+ printf("%.*s - %.*s\n", PFSTR(pkg.name()), PFSTR(pkg.shortDescription(string("(short description not available)"))));
_count++;
}
}
Modified: debtags/trunk/tools/debtags.cc
==============================================================================
--- debtags/trunk/tools/debtags.cc (original)
+++ debtags/trunk/tools/debtags.cc Mon Feb 13 14:49:01 2006
@@ -813,7 +813,7 @@
for (OpSet<entity::Package>::const_iterator i = toPrint.begin(); i != toPrint.end(); i++, count++)
if (count == (int)next)
{
- printf(" * `%.*s`_: %.*s\n", PFSTR(i->name()), PFSTR(i->shortDescription("(short description not available)")));
+ printf(" * `%.*s`_: %.*s\n", PFSTR(i->name()), PFSTR(i->shortDescription(string("(short description not available)"))));
mentionedPackages += *i;
next += step;
if (next > toPrint.size())
@@ -821,7 +821,7 @@
}
} else {
for (OpSet<entity::Package>::const_iterator i = toPrint.begin(); i != toPrint.end(); i++)
- printf(" * `%.*s`_: %.*s\n", PFSTR(i->name()), PFSTR(i->shortDescription("(short description not available)")));
+ printf(" * `%.*s`_: %.*s\n", PFSTR(i->name()), PFSTR(i->shortDescription(string("(short description not available)"))));
mentionedPackages += toPrint;
}
fputs("\n", stdout);
@@ -1641,7 +1641,7 @@
// Gather maintainer informations
InputMerger<string, Tag> maints;
for (component::Packages::iterator i = Global::get().packages().packagesBegin();
- i != Global::get().packages().packagesEnd(); i++)
+ i != Global::get().packages().packagesEnd(); ++i)
{
if (!i->valid())
continue;
@@ -1783,7 +1783,7 @@
for (PackageScorer::const_iterator i = pscorer.begin();
i != pscorer.end(); i++)
printf("%d %.*s - %.*s\n", i->first,
- PFSTR(i->second.name()), PFSTR(i->second.shortDescription("(short description not available)")));
+ PFSTR(i->second.name()), PFSTR(i->second.shortDescription(string("(short description not available)"))));
break;
}
// facetcoll
More information about the Debtags-commits
mailing list