Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73086 Details for
Bug 112818
app-portage/portage-utils: qlop: args should be processed as atoms and not substring
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-utils-0.1.9-qlop-pkgname-fix.patch
portage-utils-0.1.9-qlop-pkgname-fix.patch (text/plain), 795 bytes, created by
Jeroen Roovers (RETIRED)
on 2005-11-17 06:47:21 UTC
(
hide
)
Description:
portage-utils-0.1.9-qlop-pkgname-fix.patch
Filename:
MIME Type:
Creator:
Jeroen Roovers (RETIRED)
Created:
2005-11-17 06:47:21 UTC
Size:
795 bytes
patch
obsolete
>diff -uNr portage-utils-0.1.9/qlop.c portage-utils-0.1.9-new/qlop.c >--- portage-utils-0.1.9/qlop.c 2005-11-12 17:12:33.000000000 +0100 >+++ portage-utils-0.1.9-new/qlop.c 2005-11-17 15:08:29.000000000 +0100 >@@ -164,8 +164,8 @@ > void show_emerge_history(char listflag, int argc, char **argv, const char *logfile) > { > FILE *fp; >- char buf[BUFSIZ], merged; >- char *p, *q; >+ char buf[BUFSIZ], merged, buf2[BUFSIZ]; >+ char *p, *q, *r = buf2, *s; > int i; > time_t t; > >@@ -178,9 +178,11 @@ > if (strlen(buf) < 30) > continue; > >- for (i = 0; i < argc; ++i) >- if (strstr(buf, argv[i]) != NULL) >- break; >+ for (i = 0; i < argc; ++i) { >+ sprintf(r, "/%s-", argv[i]); >+ if ((s = strstr(buf, r)) != NULL && >+ ! isalpha(s[strlen(r)])) break; >+ } > if (argc && i == argc) > continue; >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 112818
: 73086