summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-09-01 13:55:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-09-01 13:55:33 (GMT)
commit752523cd122d6ffdd72c89955005d77819740675 (patch)
treee42a42cb8da231faf52bd16b3c8723f4e46b60e7 /src/doxygen.cpp
parent8fb2578917109778a7c589e68545d6be3ca7b104 (diff)
downloadDoxygen-752523cd122d6ffdd72c89955005d77819740675.zip
Doxygen-752523cd122d6ffdd72c89955005d77819740675.tar.gz
Doxygen-752523cd122d6ffdd72c89955005d77819740675.tar.bz2
Bug 766059 - DOT_PATH not expanded
The original problem in this bug request was that forward slashes were used in the PATH instead of backslashes. In the command shell this does not result in problems, but when calling a program from within doxygen this leads to the problem that the executable cannot be found. In this patch the PATH variable is, just for the process, changed in such a way that ther are back slashes instead of forward slashes (Windows only, not on Cygwin).
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index d545265..07214cb 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9987,6 +9987,8 @@ void initDoxygen()
setlocale(LC_CTYPE,"C"); // to get isspace(0xA0)==0, needed for UTF-8
setlocale(LC_NUMERIC,"C");
+ portable_correct_path();
+
Doxygen::runningTime.start();
initPreprocessor();
@@ -10067,7 +10069,6 @@ void initDoxygen()
g_compoundKeywordDict.insert("union",(void *)8);
g_compoundKeywordDict.insert("interface",(void *)8);
g_compoundKeywordDict.insert("exception",(void *)8);
-
}
void cleanUpDoxygen()