diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-02-07 22:27:46 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-02-07 22:27:46 +0000 |
commit | 59d2739e59a567813ec6da6c212deabd2cd0d4b7 (patch) | |
tree | 791569b67ecf1f614d4bd4bb44dcb93a4b7fb7fb /infrastructure | |
parent | f2138c8868d17607e42ba9dbc7e50ce6e2f18866 (diff) |
Fix compile error caused by missing std::list prototype.
Fix erroneous detection of leaked file descriptors by closing syslog before
compiling the initial list of file descriptors.
Diffstat (limited to 'infrastructure')
-rw-r--r-- | infrastructure/buildenv-testmain-template.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/infrastructure/buildenv-testmain-template.cpp b/infrastructure/buildenv-testmain-template.cpp index 85b0465c..e0fb71f0 100644 --- a/infrastructure/buildenv-testmain-template.cpp +++ b/infrastructure/buildenv-testmain-template.cpp @@ -37,6 +37,7 @@ #endif #include <exception> +#include <list> #include <string> #include "box_getopt.h" @@ -386,6 +387,7 @@ int main(int argc, char * const * argv) BOX_NOTICE("Running test TEST_NAME in " MODE_TEXT " mode..."); // Count open file descriptors for a very crude "files left open" test + Logging::GetSyslog().Shutdown(); check_filedes(false); #ifdef WIN32 |