Bug 9242 - Can get both a class and it's subclass marked as multiple matches
Summary: Can get both a class and it's subclass marked as multiple matches
Status: RESOLVED FIXED
Alias: None
Product: xdgmime
Classification: Unclassified
Component: xdgmime (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-04 09:31 UTC by Tom Parker
Modified: 2007-06-01 07:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to correct the bug (715 bytes, patch)
2006-12-04 09:32 UTC, Tom Parker
Details | Splinter Review

Description Tom Parker 2006-12-04 09:31:34 UTC
If you have a class and a subclass with equal priority (bad, but that's the case
with most text/plain cases right now), then it's possible to find the subclass
first and *then* the parent class, resulting in a application/octet-stream
return from test-mime rather than the subclass.
Comment 1 Tom Parker 2006-12-04 09:32:44 UTC
Created attachment 7956 [details] [review]
Patch to correct the bug
Comment 2 Christian - Manny Calavera - Neumair 2007-06-01 07:58:11 UTC
Good catch! Thanks, committed. Sorry for the late response.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.