Console_ProgressBar Bug

From: Date: Wed, 15 Jun 2005 00:50:56 +0000
Subject: Console_ProgressBar Bug
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38131@lists.php.net to get a copy of this message
I also stumbled across this bug http://pear.php.net/bugs/bug.php?id=2163 and tracked it down, and the problem is in function erase(), the way erase works is that it erases the ORIGINAL length of the bar, so when you have 1.00% it's only 3 digits, but when you get to 10.00% you have an extra digit, so erase() erases everything but the first letter. $this->_tlen should be updated on every iteration, because the length might change obviously. I can submit the fix to this bug, but I noticed that the bug was reported almost a year ago and response from the author, so how can I submit my patch? Ammar Ibrahim

« previous php.pear.dev (#38131) next »