Bug 13681

Summary: D source detected as C source
Product: shared-mime-info Reporter: Robert DaSilva <spunit262>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 11837    
Bug Blocks:    
Attachments: a patch to freedesktop.org.xml
proposed patch
testcase (example from dsource.org)

Description Robert DaSilva 2007-12-15 15:31:00 UTC
+++ This bug was initially created as a clone of Bug #11837 +++

Most source files for curly bracket langs are listed as sub-types of x-csrc, but x-dsrc isn't. This causes nautilus to refuse to open D source file that start with comments. I'll attach a patch.
Comment 1 Robert DaSilva 2007-12-15 15:33:15 UTC
Created attachment 13133 [details] [review]
a patch to freedesktop.org.xml
Comment 2 Daniel Leidert 2010-01-29 12:43:36 UTC
Created attachment 32907 [details] [review]
proposed patch

I cannot reproduce the issue anymore. However, the proposed patch has been applied in Debian in May 2008 without any reported negative effects.
Comment 3 Daniel Leidert 2010-01-29 12:45:07 UTC
Created attachment 32908 [details]
testcase (example from dsource.org)
Comment 4 Bastien Nocera 2010-02-01 05:41:18 UTC
commit 80749cffbf41197c036daddd9f9739aaaf073737
Author: Daniel Leidert <daniel.leidert.spam@gmx.net>
Date:   Mon Feb 1 13:39:09 2010 +0000

    Make D sources a sub-class of C sources
    
    http://bugs.freedesktop.org/show_bug.cgi?id=13681

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.