]> git.saurik.com Git - apt.git/commitdiff
Changed CRC algorithm
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:56 +0000 (16:53 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:56 +0000 (16:53 +0000)
Author: jgg
Date: 1999-06-04 05:54:20 GMT
Changed CRC algorithm

apt-pkg/deb/deblistparser.cc
apt-pkg/pkgcache.cc
apt-pkg/pkgcachegen.cc

index 273b7fd42c0d64c02d018c96a9459db95955d123..182d46829e1f6c297a4411f8e53fed18586a524e 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: deblistparser.cc,v 1.19 1999/05/23 22:55:54 jgg Exp $
+// $Id: deblistparser.cc,v 1.20 1999/06/04 05:54:20 jgg Exp $
 /* ######################################################################
    
    Package Cache Generator - Generator for the cache structure.
@@ -139,8 +139,8 @@ unsigned short debListParser::VersionHash()
    const char *Sections[] ={"Installed-Size",
                             "Depends",
                             "Pre-Depends",
-                            "Suggests",
-                            "Recommends",
+//                            "Suggests",
+//                            "Recommends",
                             "Conflicts",
                             "Replaces",0};
    unsigned long Result = INIT_FCS;
index 4ff5a27ea10d792a46f7e0c4557ecadbdcbe425a..040c672c8ce5e455e71d2149bc0a9f7d989c7090 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: pkgcache.cc,v 1.25 1999/05/23 22:55:54 jgg Exp $
+// $Id: pkgcache.cc,v 1.26 1999/06/04 05:54:20 jgg Exp $
 /* ######################################################################
    
    Package Cache - Accessor code for the cache
@@ -44,7 +44,7 @@ pkgCache::Header::Header()
    /* Whenever the structures change the major version should be bumped,
       whenever the generator changes the minor version should be bumped. */
    MajorVersion = 3;
-   MinorVersion = 1;
+   MinorVersion = 2;
    Dirty = true;
    
    HeaderSz = sizeof(pkgCache::Header);
index 11d539dffa99e9e1fc2801f62620dc5479f92ab3..804c59a48cd38708dc9f79c564115564d0073f97 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: pkgcachegen.cc,v 1.38 1999/05/23 22:55:54 jgg Exp $
+// $Id: pkgcachegen.cc,v 1.39 1999/06/04 05:54:20 jgg Exp $
 /* ######################################################################
    
    Package Cache Generator - Generator for the cache structure.
@@ -116,7 +116,7 @@ bool pkgCacheGenerator::MergeList(ListParser &List)
       {
         if (List.UsePackage(Pkg,Ver) == false)
            return _error->Error("Error occured while processing %s (UsePackage2)",PackageName.c_str());
-        
+
         if (NewFileVer(Ver,List) == false)
            return _error->Error("Error occured while processing %s (NewFileVer1)",PackageName.c_str());