From: Arch Librarian Date: Mon, 20 Sep 2004 16:58:24 +0000 (+0000) Subject: Strip Config-Version when copying status to available. ... X-Git-Tag: 0.7.24ubuntu1~977 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/e8cbb49ff3647c251152ded28709ebe04b70cc4a?ds=sidebyside 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 --- 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) diff --git a/debian/changelog b/debian/changelog index c9ac0ee62..e7e0069a5 100644 --- a/debian/changelog +++ b/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 Thu, 8 Mar 2001 22:48:06 -0700