summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-01-13 12:42:31 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-01-13 12:42:31 (GMT)
commitd5578494bfc9342ae83b544a5200aa630ec0b2eb (patch)
tree8a6fb414ef17b44881c7b2e49395be6a091bd1a0 /src
parent6acb8c375f28e9f058769f3a0c7d0325a3bf58e7 (diff)
downloadDoxygen-d5578494bfc9342ae83b544a5200aa630ec0b2eb.zip
Doxygen-d5578494bfc9342ae83b544a5200aa630ec0b2eb.tar.gz
Doxygen-d5578494bfc9342ae83b544a5200aa630ec0b2eb.tar.bz2
issue #8329 Force line buffering
By default stdout is buffered when redirecting, the `-b` option of doxygen prevents this. Removing non used variable `outputToWizard`.
Diffstat (limited to 'src')
-rw-r--r--src/doxygen.cpp4
-rw-r--r--src/doxygen.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 3fdde9b..4e09c19 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -145,7 +145,6 @@ bool Doxygen::parseSourcesNeeded = FALSE;
SearchIndexIntf *Doxygen::searchIndex=0;
SymbolMap<Definition> Doxygen::symbolMap;
ClangUsrMap *Doxygen::clangUsrMap = 0;
-bool Doxygen::outputToWizard=FALSE;
Cache<std::string,LookupInfo> *Doxygen::lookupCache;
DirLinkedMap *Doxygen::dirLinkedMap;
DirRelationLinkedMap Doxygen::dirRelations;
@@ -10076,7 +10075,7 @@ static void devUsage()
{
msg("Developer parameters:\n");
msg(" -m dump symbol map\n");
- msg(" -b output to wizard\n");
+ msg(" -b making messages output unbuffered\n");
msg(" -T activates output generation via Django like template\n");
msg(" -d <level> enable a debug level, such as (multiple invocations of -d are possible):\n");
Debug::printFlags();
@@ -10550,7 +10549,6 @@ void readConfiguration(int argc, char **argv)
break;
case 'b':
setvbuf(stdout,NULL,_IONBF,0);
- Doxygen::outputToWizard=TRUE;
break;
case 'T':
msg("Warning: this option activates output generation via Django like template files. "
diff --git a/src/doxygen.h b/src/doxygen.h
index 1886c0e..9442d9e 100644
--- a/src/doxygen.h
+++ b/src/doxygen.h
@@ -121,7 +121,6 @@ class Doxygen
static SearchIndexIntf *searchIndex;
static SymbolMap<Definition> symbolMap;
static ClangUsrMap *clangUsrMap;
- static bool outputToWizard;
static Cache<std::string,LookupInfo> *lookupCache;
static DirLinkedMap *dirLinkedMap;
static DirRelationLinkedMap dirRelations;