summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:58:24 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:58:24 +0000
commite8cbb49ff3647c251152ded28709ebe04b70cc4a (patch)
treebcdc91f622c3bd6c7f5093c76663c5b2503f4f13 /cmdline/apt-cache.cc
parent4e0680f913218a9c4b52ccc842924e223b403df6 (diff)
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
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r--cmdline/apt-cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index e20301c13..a11594f21 100644
--- a/cmdline/apt-cache.cc
+++ b/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)