X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..321e620a3620874bf9cb18da861127f9df0925b8:/stglibs/dotconfpp.lib/dotconfpp.cpp diff --git a/stglibs/dotconfpp.lib/dotconfpp.cpp b/stglibs/dotconfpp.lib/dotconfpp.cpp index b82ae818..ceca3ab2 100644 --- a/stglibs/dotconfpp.lib/dotconfpp.cpp +++ b/stglibs/dotconfpp.lib/dotconfpp.cpp @@ -20,6 +20,7 @@ #include #include "dotconfpp.h" +#include "mempool.h" DOTCONFDocumentNode::DOTCONFDocumentNode():previousNode(NULL), nextNode(NULL), parentNode(NULL), childNode(NULL), values(NULL), valuesCount(0), @@ -397,6 +398,7 @@ int DOTCONFDocument::setContent(const char * _fileName) case GLOB_NOSPACE: error(tagNode->lineNum, tagNode->fileName, "glob call failed for '%s': no free space", nodeFilePath.c_str()); return -1; +#ifndef FREE_BSD case GLOB_ABORTED: // printf("Read error\n"); // Ignore that error @@ -405,6 +407,7 @@ int DOTCONFDocument::setContent(const char * _fileName) // printf("No match\n"); // Ignore that error break; +#endif default: error(tagNode->lineNum, tagNode->fileName, "glob call failed for '%s': unknown error", nodeFilePath.c_str()); return -1;