GNOME Bugzilla – Bug 755225
On Windows, generated layout is with UNIX EOL (patch included)
Last modified: 2015-12-30 10:20:14 UTC
On Windows, the layout file is with UNIX EOL. I believe the fix should be trivial. See below in Git Extensions diff format. I can also provide it as a pull request at https://github.com/doxygen/doxygen. Let me know. Thanks, Georges diff --git a/src/layout.cpp b/src/layout.cpp index 01d5d18..1d778a6 100644 --- a/src/layout.cpp +++ b/src/layout.cpp @@ -1396,7 +1396,7 @@ void LayoutDocManager::parse(QTextStream &t,const char *fileName) void writeDefaultLayoutFile(const char *fileName) { QFile f(fileName); - if (!f.open(IO_WriteOnly)) + if (!f.open(IO_WriteOnly | QIODevice::Text)) { err("Failed to open file %s for writing!\n",fileName); return;
Thanks, the patch itself doesn't compile, but I'll include a similar fix in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.11. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).