Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 164288 Details for
Bug 222091
All merge fails at 'postint' because of "Argument list too long" errors due to "vga" variable in env
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
filter \1 (start of heading) characters for portage-2.2_rc8
soh_2.2_rc8.patch (text/plain), 1.30 KB, created by
Zac Medico
on 2008-09-01 19:56:11 UTC
(
hide
)
Description:
filter \1 (start of heading) characters for portage-2.2_rc8
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-09-01 19:56:11 UTC
Size:
1.30 KB
patch
obsolete
>Index: bin/filter-bash-environment.py >=================================================================== >--- bin/filter-bash-environment.py (revision 11484) >+++ bin/filter-bash-environment.py (revision 11485) >@@ -25,6 +25,11 @@ > close_quote_match.group(1) == quote > > def filter_bash_environment(pattern, file_in, file_out): >+ # Filter out any instances of the \1 character from variable values >+ # since this character multiplies each time that the environment >+ # is saved (strange bash behavior). This can eventually result in >+ # mysterious 'Argument list too long' errors from programs that have >+ # huge strings of \1 characters in their environment. See bug #222091. > here_doc_delim = None > in_func = None > multi_line_quote = None >@@ -32,7 +37,7 @@ > for line in file_in: > if multi_line_quote is not None: > if not multi_line_quote_filter: >- file_out.write(line) >+ file_out.write(line.replace("\1", "")) > if have_end_quote(multi_line_quote, line): > multi_line_quote = None > multi_line_quote_filter = None >@@ -59,7 +64,7 @@ > (declare_opts, line[readonly_match.end():]) > else: > line = "declare " + line[readonly_match.end():] >- file_out.write(line) >+ file_out.write(line.replace("\1", "")) > continue > if here_doc_delim is not None: > if here_doc_delim.match(line):
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 222091
:
153155
|
155061
|
156805
|
161457
|
164284
| 164288