summaryrefslogtreecommitdiffstats
path: root/addon/doxyapp/doxyapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'addon/doxyapp/doxyapp.cpp')
-rw-r--r--addon/doxyapp/doxyapp.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/addon/doxyapp/doxyapp.cpp b/addon/doxyapp/doxyapp.cpp
index 75be1f1..0de169d 100644
--- a/addon/doxyapp/doxyapp.cpp
+++ b/addon/doxyapp/doxyapp.cpp
@@ -26,6 +26,7 @@
*/
#include </usr/include/unistd.h> // ugly hack to get the right unistd.h (doxygen has one too)
+#include <stdlib.h>
#include "doxygen.h"
#include "outputgen.h"
#include "parserintf.h"
@@ -274,7 +275,7 @@ int main(int argc,char **argv)
parseInput();
// iterate over the input files
- FileNameListIterator fnli(Doxygen::inputNameList);
+ FileNameListIterator fnli(*Doxygen::inputNameList);
FileName *fn;
// foreach file with a certain name
for (fnli.toFirst();(fn=fnli.current());++fnli)
@@ -289,6 +290,8 @@ int main(int argc,char **argv)
}
}
+ // remove temporary files
+ unlink("/tmp/doxygen/doxygen_objdb.tmp");
// clean up after us
rmdir("/tmp/doxygen");