diff options
author | miwi <miwi@FreeBSD.org> | 2008-08-15 19:55:17 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-08-15 19:55:17 +0800 |
commit | 71ee4c5661cfc606c4d43d4e873cb71c881aad73 (patch) | |
tree | 7cab85ad87d0120e54045e427e7a3b1f1908bf99 | |
parent | 238835c9608bf7d7e280c0580254173f48a5f10d (diff) | |
download | freebsd-ports-gnome-71ee4c5661cfc606c4d43d4e873cb71c881aad73.tar.gz freebsd-ports-gnome-71ee4c5661cfc606c4d43d4e873cb71c881aad73.tar.zst freebsd-ports-gnome-71ee4c5661cfc606c4d43d4e873cb71c881aad73.zip |
- Fix a typo in gauge change checking could cause slow gauge update over slow links.
PR: 126512
Submitted by: Stephen Hurd <shurd@sasktel.net> (maintainer)
-rw-r--r-- | ports-mgmt/pkg_cleanup/Makefile | 2 | ||||
-rw-r--r-- | 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)) { |