- 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)
This commit is contained in:
Martin Wilke 2008-08-15 11:55:17 +00:00
parent 4e9189b05c
commit 0593c95b7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218621
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= pkg_cleanup
PORTVERSION= 1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= ports-mgmt
DISTFILES=

View File

@ -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)) {