ソースを参照

Changed CRC algorithm
Author: jgg
Date: 1999-06-04 05:54:20 GMT
Changed CRC algorithm

Arch Librarian 22 年 前
コミット
f78439bfef
共有3 個のファイルを変更した7 個の追加7 個の削除を含む
  1. 3 3
      apt-pkg/deb/deblistparser.cc
  2. 2 2
      apt-pkg/pkgcache.cc
  3. 2 2
      apt-pkg/pkgcachegen.cc

+ 3 - 3
apt-pkg/deb/deblistparser.cc

@@ -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;

+ 2 - 2
apt-pkg/pkgcache.cc

@@ -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);

+ 2 - 2
apt-pkg/pkgcachegen.cc

@@ -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());