Просмотр исходного кода

Strip Config-Version when copying status to available. ...
Author: jgg
Date: 2001-06-10 02:03:33 GMT
Strip Config-Version when copying status to available. Closes: #97520

Arch Librarian лет назад: 22
Родитель
Сommit
e8cbb49ff3
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 2
      cmdline/apt-cache.cc
  2. 1 0
      debian/changelog

+ 2 - 2
cmdline/apt-cache.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: apt-cache.cc,v 1.50 2001/06/08 05:15:42 jgg Exp $
+// $Id: apt-cache.cc,v 1.51 2001/06/10 02:03:33 jgg Exp $
 /* ######################################################################
    
    apt-cache - Manages the cache files
@@ -475,7 +475,7 @@ bool DumpAvail(CommandLine &Cmd)
 	 if ((File->Flags & pkgCache::Flag::NotSource) == pkgCache::Flag::NotSource)
 	 {
 	    pkgTagSection Tags;
-	    TFRewriteData RW[] = {{"Status",0},{}};
+	    TFRewriteData RW[] = {{"Status",0},{"Config-Version",0},{}};
 	    const char *Zero = 0;
 	    if (Tags.Scan(Buffer+Jitter,VF.Size+1) == false ||
 		TFRewrite(stdout,Tags,&Zero,RW) == false)

+ 1 - 0
debian/changelog

@@ -26,6 +26,7 @@ apt (0.5.4) unstable; urgency=low
   * Used the right copyright file. Closes: #65691
   * Randolph's G++3 patches. 
   * Fixed no_proxy tokanizing. Closes: #100046
+  * Strip Config-Version when copying status to available. Closes: #97520
   
  -- Jason Gunthorpe <jgg@debian.org>  Thu,  8 Mar 2001 22:48:06 -0700