projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* apt-pkg/depcache.cc:
[apt.git]
/
cmdline
/
apt-sortpkgs.cc
diff --git
a/cmdline/apt-sortpkgs.cc
b/cmdline/apt-sortpkgs.cc
index 8909c3826472c94da2fb7a14e7e80a2c8ee23b7b..171b0ba13d86ca2d9808320a59847af03afb94ad 100644
(file)
--- a/
cmdline/apt-sortpkgs.cc
+++ b/
cmdline/apt-sortpkgs.cc
@@
-31,7
+31,7
@@
using namespace std;
using namespace std;
-struct PkgName
+struct PkgName
/*{{{*/
{
string Name;
string Ver;
{
string Name;
string Ver;
@@
-55,7
+55,7
@@
struct PkgName
bool operator >(const PkgName &x) const {return Compare3(x) > 0;};
bool operator ==(const PkgName &x) const {return Compare3(x) == 0;};
};
bool operator >(const PkgName &x) const {return Compare3(x) > 0;};
bool operator ==(const PkgName &x) const {return Compare3(x) == 0;};
};
-
+ /*}}}*/
// DoIt - Sort a single file /*{{{*/
// ---------------------------------------------------------------------
/* */
// DoIt - Sort a single file /*{{{*/
// ---------------------------------------------------------------------
/* */
@@
-141,8
+141,8
@@
bool DoIt(string InFile)
/* */
int ShowHelp()
{
/* */
int ShowHelp()
{
- ioprintf(cout,_("%s %s for %s
%s
compiled on %s %s\n"),PACKAGE,VERSION,
- COMMON_
OS,COMMON_CPU
,__DATE__,__TIME__);
+ ioprintf(cout,_("%s %s for %s compiled on %s %s\n"),PACKAGE,VERSION,
+ COMMON_
ARCH
,__DATE__,__TIME__);
if (_config->FindB("version") == true)
return 0;
if (_config->FindB("version") == true)
return 0;
@@
-161,8
+161,7
@@
int ShowHelp()
return 0;
}
/*}}}*/
return 0;
}
/*}}}*/
-
-int main(int argc,const char *argv[])
+int main(int argc,const char *argv[]) /*{{{*/
{
CommandLine::Args Args[] = {
{'h',"help","help",0},
{
CommandLine::Args Args[] = {
{'h',"help","help",0},
@@
-206,3
+205,4
@@
int main(int argc,const char *argv[])
return 0;
}
return 0;
}
+ /*}}}*/