From 0593c95b7ff2e65dbcd41db0257dc98663c92373 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 15 Aug 2008 11:55:17 +0000 Subject: [PATCH] - Fix a typo in gauge change checking could cause slow gauge update over slow links. PR: 126512 Submitted by: Stephen Hurd (maintainer) --- ports-mgmt/pkg_cleanup/Makefile | 2 +- ports-mgmt/pkg_cleanup/files/pkg_cleanup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports-mgmt/pkg_cleanup/Makefile b/ports-mgmt/pkg_cleanup/Makefile index e8ea64828409..e3d75398f3b2 100644 --- a/ports-mgmt/pkg_cleanup/Makefile +++ b/ports-mgmt/pkg_cleanup/Makefile @@ -7,7 +7,7 @@ PORTNAME= pkg_cleanup PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= ports-mgmt DISTFILES= diff --git a/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c b/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c index 1f191676ed46..675e18250f06 100644 --- a/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c +++ b/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c @@ -164,7 +164,7 @@ int read_pkglist(int loops) gauge=p*100/gl.gl_pathc; if(gauge != lastgauge) { dialog_gauge(NULL, "Searching for leaves", maxy/2-1, maxx/2-12, 7, 24, gauge); - gauge=lastgauge; + lastgauge=gauge; } sprintf(path,"%s/+REQUIRED_BY",gl.gl_pathv[p]); if(stat(path,&sb)) {