Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 259274 Details for
Bug 351100
app-portage/portage-utils: qlop: -t does not show correctly when emerge never completed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bugfix patch
qlop.patch (text/plain), 1.15 KB, created by
Andreas Fink
on 2011-01-08 09:33:48 UTC
(
hide
)
Description:
bugfix patch
Filename:
MIME Type:
Creator:
Andreas Fink
Created:
2011-01-08 09:33:48 UTC
Size:
1.15 KB
patch
obsolete
>--- portage-utils-0.4.orig/qlop.c 2011-01-08 10:18:20.689702996 +0100 >+++ portage-utils-0.4/qlop.c 2011-01-08 10:17:55.609703010 +0100 >@@ -149,6 +149,8 @@ > > if (matched) { > while ((fgets(buf[0], sizeof(buf[0]), fp)) != NULL) { >+ if (strstr(buf[0], pkg) == NULL) >+ continue; > if ((p = strchr(buf[0], '\n')) != NULL) > *p = 0; > if ((p = strchr(buf[0], ':')) == NULL) >@@ -177,6 +179,29 @@ > count++; > break; > } >+ else if ((strncmp(buf[1], ">>> emerge (", 12)) == 0) { >+ snprintf(ep, BUFSIZ, "completed %s", &buf[1][4]); >+ matched = 0; >+ if ((p = strchr(buf[1], ')')) == NULL) >+ continue; >+ *p = 0; >+ strcpy(buf[0], p + 1); >+ rmspace(buf[0]); >+ if ((p = strchr(buf[0], ' ')) == NULL) >+ continue; >+ *p = 0; >+ if ((atom = atom_explode(buf[0])) == NULL) >+ continue; >+ if (*cat) { >+ if ((strcmp(cat, atom->CATEGORY) == 0) && (strcmp(pkg, atom->PN) == 0)) >+ matched = 1; >+ } else if (strcmp(pkg, atom->PN) == 0) >+ matched = 1; >+ if (matched == 0) >+ break; >+ else >+ t[0] = t[1]; >+ } > } > } > atom_implode(atom);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 351100
:
259274
|
266609