Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 68924
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage Utilities Team <tools-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Murphy <chrismurf@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ufed-0.35-escape.patch ufed-0.35-escape.patch patch Harald van Dijk 2004-10-27 01:21 0000 682 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 68924 depends on: Show dependency tree
Bug 68924 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-25 21:46 0000
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 From Harald van Dijk 2004-10-27 01:21:06 0000 -------
Created an attachment (id=42671) [details]
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 From Marius Mauch (RETIRED) 2004-11-21 21:49:15 0000 -------
0.35-r2 with the patch is in CVS now.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug