Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68924 - ufed parse error on "modelock" useflag - double quotes in the description in use.local.desc
Summary: ufed parse error on "modelock" useflag - double quotes in the description in ...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 21:46 UTC by Chris Murphy
Modified: 2004-11-21 21:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ufed-0.35-escape.patch (ufed-0.35-escape.patch,682 bytes, patch)
2004-10-27 01:21 UTC, Harald van Dijk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Murphy 2004-10-25 21:46:48 UTC
Running ufed 0.34, it parses the use.local.desc file incorrectly. I'm not sure if this is an error with ufed (I believe it is) or if the last author of use.local.desc made bad changes.  Specifically, the error can be seen on the 'Modelock" use flag.

Reproducible: Always
Steps to Reproduce:
Use ufed v. 0.34
run ufed
scroll down to the modelock flag.
observe.
Actual Results:  
The flag description is parsed as multiple new use flags, such as:
[ ] Modelock           Local Flag: Enable XKB ...
[ ] Need               it. (x11-wm/windowmaker)
[ ] you                dont know what it is you probably dont

Expected Results:  
Parsed it as one single string:
[ ] Modelock          Local Flag: ...

The modelock flag has a string in double quotes as part of the description. 
There are also some single quotes in the "don't" 's that may be messing it up.
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2004-10-27 01:21:06 UTC
Created attachment 42671 [details, diff]
ufed-0.35-escape.patch

Attached patch is against 0.35, which has the same problem. It can be applied
to 0.34 as well.

In reply to:
>There are also some single quotes in the "don't" 's that may be messing it up.


Nah, all descriptions are enclosed by ufed in double quote characters, so
single quote characters won't have any special effect. However, \ and $ do
cause problems. \ is not in any descriptions, but $ is (the description for icc
contains $CC).
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-11-21 21:49:15 UTC
0.35-r2 with the patch is in CVS now.