4个文件已修改
13 ■■■■■ 已修改文件
src/library/LicenseReader.cpp 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/library/base/base64.h 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/library/os/cpu_info.hpp 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/library/os/linux/os_linux.cpp 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/library/LicenseReader.cpp
@@ -85,8 +85,9 @@
             *  application_data = xxxxxxxxx (optional string 16)
             */
            const char *license_signature = ini.GetValue(productNamePtr, LICENSE_SIGNATURE, nullptr);
            long license_version = ini.GetLongValue(productNamePtr, LICENSE_VERSION, -1);
            if (license_signature != nullptr && license_version == 200) {
            //没有用这个license_version了 不需要读
            // long license_version = ini.GetLongValue(productNamePtr, LICENSE_VERSION, -1);
            if (license_signature != nullptr /*&& license_version == 200*/) {
                CSimpleIniA::TNamesDepend keys;
                ini.GetAllKeys(productNamePtr, keys);
                FullLicenseInfo licInfo(*it, product, license_signature);
src/library/base/base64.h
@@ -7,6 +7,7 @@
#if _WIN32
#include <wtypes.h>
#endif
#include <cstdint>
namespace license {
src/library/os/cpu_info.hpp
@@ -7,6 +7,7 @@
#ifndef SRC_LIBRARY_OS_CPU_INFO_H_
#define SRC_LIBRARY_OS_CPU_INFO_H_
#include <cstdint>
#include <string>
namespace license {
namespace os {
src/library/os/linux/os_linux.cpp
@@ -17,9 +17,9 @@
#include <mntent.h>
#include <dirent.h>
#include <sys/utsname.h>
#ifndef NDEBUG
#include <valgrind/memcheck.h>
#endif
// #ifndef NDEBUG
// #include <valgrind/memcheck.h>
// #endif
//#ifdef USE_DISK_MODEL
///#define PARSE_ID_FUNC parse_disk_id