This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: application/xml mime-type in recent libstdc++ doc changes


On 12/10/2012 06:52 PM, Benjamin De Kosnik wrote:

libstdc++-v3/doc/xsl/customization.xsl.in is marked as

svn:mime-type = application/xml

at least on the 4.7 branch, having some unexpected outcome for svn
diff. If this was unintended, could you change the svn:mime-type
back to text?

This is unintentional, and frankly I don't know how the inital mime type was created or how to fix it.

The Subversion client in Fedora 17 automatically sets application/xml for .xml files. It seems that "svn add" runs the equivalent of "file -i" on the new file, and that prints "application/xml" even for text files. I fell into this trap as well, and have now filed a bug:


https://bugzilla.redhat.com/show_bug.cgi?id=886005

--
Florian Weimer / Red Hat Product Security Team


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]