RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson
Root: /v/rpm/cvs Email: jbj@rpm5.org
Module: rpm Date: 22-Sep-2007 23:27:49
Branch: HEAD Handle: 2007092222274800
Modified files:
rpm/lib psm.c
Log:
actually get the change correct.
Summary:
Revision Changes Path
2.229 +3 -3 rpm/lib/psm.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/lib/psm.c
============================================================================
$ cvs diff -u -r2.228 -r2.229 psm.c
--- rpm/lib/psm.c 22 Sep 2007 21:25:16 -0000 2.228
+++ rpm/lib/psm.c 22 Sep 2007 21:27:48 -0000 2.229
@@ -1935,8 +1935,8 @@
if (rpmtsFlags(ts) & RPMTRANS_FLAG_APPLYONLY) break;
psm->what = RPMCALLBACK_UNINST_START;
- psm->amount = fc; /* XXX W2DO? looks wrong. */
- psm->total = fc;
+ psm->amount = fc;
+ psm->total = (fc ? fc : 100);
xx = rpmpsmNext(psm, PSM_NOTIFY);
if (fc > 0) {
@@ -1946,7 +1946,7 @@
}
psm->what = RPMCALLBACK_UNINST_STOP;
- psm->amount = 0; /* XXX W2DO? looks wrong. */
+ psm->amount = (fc ? fc : 100);
psm->total = (fc ? fc : 100);
xx = rpmpsmNext(psm, PSM_NOTIFY);
@@ .
Received on Sat Sep 22 23:27:49 2007