You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-portage/eix/files/eix-0.27.5-commentlines.patch

12 lines
450 B

--- src/portage/mask_list.cc
+++ src/portage/mask_list.cc
@@ -36,7 +36,7 @@ bool
MaskList<Mask>::add_file(const char *file, Mask::Type mask_type, bool recursive, bool keep_commentlines)
{
vector<string> lines;
- if(!pushback_lines(file, &lines, false, recursive, (keep_commentlines ? -1 : 0))) {
+ if(!pushback_lines(file, &lines, false, recursive, (keep_commentlines ? -1 : 1))) {
return false;
}
bool added(false), finishcomment(false);