Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 89982 Details for
Bug 137784
eix does not respect /etc/portage/package.* directories
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for eix-0.5.5 to consider mask-dirs as a file
maskfile_maybe_dir.patch (text/plain), 1.11 KB, created by
Martin Väth
on 2006-06-24 01:29:12 UTC
(
hide
)
Description:
Patch for eix-0.5.5 to consider mask-dirs as a file
Filename:
MIME Type:
Creator:
Martin Väth
Created:
2006-06-24 01:29:12 UTC
Size:
1.11 KB
patch
obsolete
>--- src/portage/conf/portagesettings.cc >+++ src/portage/conf/portagesettings.cc >@@ -42,7 +42,7 @@ > > using namespace std; > >-bool grab_masks(const char *file, Mask::Type type, MaskList<Mask> *cat_map, vector<Mask*> *mask_vec) >+bool grab_masks_file(const char *file, Mask::Type type, MaskList<Mask> *cat_map, vector<Mask*> *mask_vec) > { > ifstream mask_file(file); > if(mask_file.is_open()) { >@@ -72,6 +72,29 @@ > return false; > } > >+bool grab_masks(const char *file_dir, Mask::Type type, MaskList<Mask> *cat_map, vector<Mask*> *mask_vec) >+{ >+ static const char *files_exclude[] = { "..", "." , NULL }; >+ vector<string> files; >+ string dir(file_dir); >+ dir += "/"; >+ if(pushback_files(dir, files, files_exclude)) >+ { >+ bool rvalue=true; >+ for(vector<string>::iterator it=files.begin(); >+ it<files.end(); ++it) >+ { >+ if(! grab_masks_file(it->c_str(), type, cat_map, mask_vec)) >+ rvalue=false; >+ } >+ return rvalue; >+ } >+ else >+ return grab_masks_file(file_dir, type, cat_map, mask_vec); >+} >+ >+ >+ > /** Key that should accumelate their content rathern then replace. */ > static const char *default_accumulating_keys[] = { > "USE",
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 137784
:
89960
|
89981
|
89982
|
90681