Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78768 Details for
Bug 121360
app-portage/eix 0.5.1 -> Can't read category.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove mask if line is prefixed with '-'.
121360.patch (text/plain), 757 bytes, created by
Emil Beinroth
on 2006-02-02 17:38:42 UTC
(
hide
)
Description:
Remove mask if line is prefixed with '-'.
Filename:
MIME Type:
Creator:
Emil Beinroth
Created:
2006-02-02 17:38:42 UTC
Size:
757 bytes
patch
obsolete
>Index: src/portage/conf/cascadingprofile.cc >=================================================================== >--- src/portage/conf/cascadingprofile.cc (revision 75) >+++ src/portage/conf/cascadingprofile.cc (working copy) >@@ -141,6 +141,7 @@ > if (remove) > { > ml->remove(m); >+ delete m; > } > else > { >@@ -172,7 +173,16 @@ > > void CascadingProfile::readPackageMasks(const string &line) > { >- m_package_masks.add(new Mask(line.c_str(), Mask::maskMask)); >+ if(line[0] == '-') >+ { >+ Mask *m = new Mask(line.substr(1).c_str(), Mask::maskMask); >+ m_package_masks.remove(m); >+ delete m; >+ } >+ else >+ { >+ m_package_masks.add(new Mask(line.c_str(), Mask::maskMask)); >+ } > } > > /** Cycle through profile and put path to files into this->m_profile_files. */
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 121360
: 78768