Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98900 Details for
Bug 14215
portage can't handle embedded quotes in env.d/* files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
support escaped quotes with shlex posix mode
posix.patch (text/plain), 807 bytes, created by
Zac Medico
on 2006-10-05 19:51:28 UTC
(
hide
)
Description:
support escaped quotes with shlex posix mode
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-10-05 19:51:28 UTC
Size:
807 bytes
patch
obsolete
>Index: pym/portage_util.py >=================================================================== >--- pym/portage_util.py (revision 4601) >+++ pym/portage_util.py (revision 4602) >@@ -235,7 +235,7 @@ > raise > return None > try: >- lex=shlex.shlex(f) >+ lex = shlex.shlex(f, posix=True) > lex.wordchars=string.digits+string.letters+"~!@#$%*_\:;?,./-+{}" > lex.quotes="\"'" > if allow_sourcing: >@@ -244,7 +244,7 @@ > key=lex.get_token() > if key == "export": > key = lex.get_token() >- if (key==''): >+ if key is None: > #normal end of file > break; > equ=lex.get_token() >@@ -267,7 +267,7 @@ > else: > return mykeys > val=lex.get_token() >- if (val==''): >+ if val is None: > #unexpected end of file > #lex.error_leader(self.filename,lex.lineno) > if not tolerant:
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 14215
:
8767
| 98900 |
98903