gcontini
2020-03-28 037e7cc02b66a54d5dec19a6b93a7bf107a95a0e
src/library/locate/ApplicationFolder.cpp
@@ -7,16 +7,17 @@
#include <fstream>
#include <sstream>
#include <string>
#include <iostream>
#include <licensecc/datatypes.h>
#include <licensecc_properties.h>
#include "../base/logger.h"
#include "../base/base.h"
#include "../base/EventRegistry.h"
#include "../base/FileUtils.hpp"
#include "../os/os.h"
#include "ApplicationFolder.hpp"
#include <iostream>
#include "../base/file_utils.hpp"
namespace license {
namespace locate {
@@ -32,7 +33,7 @@
   const FUNCTION_RETURN fret = getModuleName(fname);
   if (fret == FUNC_RET_OK) {
      const string module_name = remove_extension(fname);
      const string temptativeLicense = string(module_name) + ".lic";
      const string temptativeLicense = string(module_name) + LCC_LICENSE_FILE_EXTENSION;
      ifstream f(temptativeLicense.c_str());
      if (f.good()) {
         diskFiles.push_back(temptativeLicense);