Преглед изворни кода

Fix for display bug. Closes: #92033
Author: jgg
Date: 2001-04-10 04:49:52 GMT
Fix for display bug. Closes: #92033

Arch Librarian пре 22 година
родитељ
комит
f0ec51c2bc
3 измењених фајлова са 6 додато и 2 уклоњено
  1. 4 1
      cmdline/apt-get.cc
  2. 1 1
      configure.in
  3. 1 0
      debian/changelog

+ 4 - 1
cmdline/apt-get.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: apt-get.cc,v 1.104 2001/03/13 05:23:42 jgg Exp $
+// $Id: apt-get.cc,v 1.105 2001/04/10 04:49:52 jgg Exp $
 /* ######################################################################
    
    apt-get - Cover for dpkg
@@ -232,6 +232,9 @@ void ShowBroken(ostream &out,CacheFile &Cache,bool Now)
 	    {
 	       out << ' ';
 	       pkgCache::VerIterator Ver = Cache[Targ].InstVerIter(Cache);
+	       if (Now == true)
+		  Ver = Targ.CurrentVer();
+		  
 	       if (Ver.end() == false)
 	       {
 		  if (Now == true)

+ 1 - 1
configure.in

@@ -17,7 +17,7 @@ AC_CONFIG_AUX_DIR(buildlib)
 AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
 
 dnl -- SET THIS TO THE RELEASE VERSION --
-AC_DEFINE_UNQUOTED(VERSION,"0.5.1")
+AC_DEFINE_UNQUOTED(VERSION,"0.5.4")
 AC_DEFINE_UNQUOTED(PACKAGE,"apt")
 
 dnl Check the archs, we want the target type.

+ 1 - 0
debian/changelog

@@ -11,6 +11,7 @@ apt (0.5.4) unstable; urgency=low
     similar situations. Closes: #56708, #59432
   * no_proxy and ftp. Closes: #89671
   * Philippe Batailler's man page patches.
+  * Fix for display bug. Closes: #92033
   
  -- Jason Gunthorpe <jgg@debian.org>  Thu,  8 Mar 2001 22:48:06 -0700