Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
squidGuard
squidGuard-1.3-progressbar.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File squidGuard-1.3-progressbar.patch of Package squidGuard
--- squidGuard-1.3/src/sgDb.c.orig 2008-07-22 17:41:46.000000000 +0200 +++ squidGuard-1.3/src/sgDb.c 2008-07-14 20:42:06.000000000 +0200 @@ -306,7 +306,7 @@ void startProgressBar() else { printf(" ["); - fflush(stdout); + fflush(stderr); } return; } @@ -325,7 +325,7 @@ void finishProgressBar() { printf("] 100 %% done\n"); } - fflush(stdout); + fflush(stderr); return; } @@ -340,7 +340,7 @@ void updateProgressBar(prog) { int j,k=0; k = (int)(prog * 50.0); - printf("\r");fflush(stdout); + printf("\r");fflush(stderr); printf(" ["); for(j=0; j<50; j++) { @@ -349,12 +349,12 @@ void updateProgressBar(prog) else printf(" "); } - printf("] %d %% done", (int)(prog*100.0));fflush(stdout); + printf("] %d %% done", (int)(prog*100.0));fflush(stderr); } else { if(((int)(prog*100.0) % 100) == 0) - printf(".");fflush(stdout); + printf(".");fflush(stderr); } return;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor