Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106836 - emerge --sync then ">>> Updating Portage cache: xx%" where xx is a huge value
Summary: emerge --sync then ">>> Updating Portage cache: xx%" where xx is a huge value
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 14:51 UTC by Peter
Modified: 2005-09-21 19:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2005-09-21 14:51:09 UTC
During emerge --sync the line appears:
>>> Updating Portage cache:  xx%
Where xx is some number...
The bug is that when one presses space and the xx advance, then a really huge
number is made. Looks kinda like this:
>>> Updating Portage cache: 12%
(hit space, then it updates, we get)
>>> Updating Portage cache: 113%
(hit space twice)
>>> Updating Portage cache: 11314%
The code that allows this bug is obvious.

Reproducible: Always
Steps to Reproduce:
1. execute "emerge --sync"
2. wait until ">>> Updating Portage cache:" appears
3. Hit space
4. wait for the percent to update

Actual Results:  
A really huge percent :P

Expected Results:  
The software should have returned the curser to the same position regardless of
the number of spaces or any other key pressed and placed a correct number.
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-09-21 19:04:52 UTC
Press backspace to return the cursor to the "normal" position.

If you want to submit a patch that rewrites that line every time it updates the 
cache percentage then it might get included; I don't think anyone on the portage 
team is going to fix such a minor error that by some interpretations isn't even 
a bug at all.