summaryrefslogtreecommitdiff
path: root/apt-pkg/version.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:50:37 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:50:37 +0000
commitf55a958ff2251f0061ab907157c99a350e56025f (patch)
tree244ee844d1a240d9566865667c7f77a3c3fb5100 /apt-pkg/version.cc
parent578bfd0aed2ec993f4ad85fa6a7094a852261422 (diff)
Checkpoint
Author: jgg Date: 1998-07-04 05:57:34 GMT Checkpoint
Diffstat (limited to 'apt-pkg/version.cc')
-rw-r--r--apt-pkg/version.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/apt-pkg/version.cc b/apt-pkg/version.cc
index c02ee5f87..174622c91 100644
--- a/apt-pkg/version.cc
+++ b/apt-pkg/version.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: version.cc,v 1.1 1998/07/02 02:58:13 jgg Exp $
+// $Id: version.cc,v 1.2 1998/07/04 05:57:40 jgg Exp $
/* ######################################################################
Version - Version string
@@ -212,32 +212,32 @@ bool pkgCheckDep(const char *DepVer,const char *PkgVer,int Op)
int Res = pkgVersionCompare(PkgVer,DepVer);
switch (Op & 0x0F)
{
- case pkgOP_LESSEQ:
+ case pkgCache::LessEq:
if (Res <= 0)
return true;
break;
- case pkgOP_GREATEREQ:
+ case pkgCache::GreaterEq:
if (Res >= 0)
return true;
break;
- case pkgOP_LESS:
+ case pkgCache::Less:
if (Res < 0)
return true;
break;
- case pkgOP_GREATER:
+ case pkgCache::Greater:
if (Res > 0)
return true;
break;
- case pkgOP_EQUALS:
+ case pkgCache::Equals:
if (Res == 0)
return true;
break;
- case pkgOP_NOTEQUALS:
+ case pkgCache::NotEquals:
if (Res != 0)
return true;
break;