diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8eee68f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+cmake-build-*
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/.name b/.idea/.name
new file mode 100644
index 0000000..a5dfb78
--- /dev/null
+++ b/.idea/.name
@@ -0,0 +1 @@
+pmt
\ No newline at end of file
diff --git a/.idea/1.0.0.iml b/.idea/1.0.0.iml
new file mode 100644
index 0000000..f08604b
--- /dev/null
+++ b/.idea/1.0.0.iml
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/.idea/editor.xml b/.idea/editor.xml
new file mode 100644
index 0000000..25c6c37
--- /dev/null
+++ b/.idea/editor.xml
@@ -0,0 +1,344 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..e479d63
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..40ff5a7
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
deleted file mode 100644
index 8450573..0000000
--- a/.vscode/c_cpp_properties.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "configurations": [
- {
- "includePath": [
- "${workspaceFolder}/srclib/libhelper/include",
- "${workspaceFolder}/srclib/libpartition_map/include",
- "${workspaceFolder}/include",
- "${workspaceFolder}/src/functions"
- ]
- }
- ],
- "version": 4
-}
\ No newline at end of file
diff --git a/include/generated/buildInfo.hpp b/include/generated/buildInfo.hpp
new file mode 100755
index 0000000..fc47280
--- /dev/null
+++ b/include/generated/buildInfo.hpp
@@ -0,0 +1,29 @@
+/*
+ Copyright 2025 Yağız Zengin
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef VERSION_HPP
+#define VERSION_HPP
+
+// General build info
+#define BUILD_VERSION "1.0.0"
+#define BUILD_TYPE "Debug"
+#define BUILD_DATE "2025-08-03"
+#define BUILD_TIME "22:19:40"
+#define BUILD_FLAGS "-Wall;-Werror;-gdwarf-5;-fsanitize=address;-fstack-protector"
+#define BUILD_CMAKE_VERSION "3.31.6"
+#define BUILD_COMPILER_VERSION "c++ (GCC) 15.1.1 20250425"
+
+#endif // #ifndef VERSION_HPP
diff --git a/srclib/libhelper/src/Classes.cpp b/srclib/libhelper/src/Classes.cpp
index 80cba65..8b9521b 100755
--- a/srclib/libhelper/src/Classes.cpp
+++ b/srclib/libhelper/src/Classes.cpp
@@ -24,13 +24,6 @@
#include
#include
-static void __create_log_file(const char* file)
-{
- remove(file);
- int fd = open(file, O_WRONLY | O_CREAT, DEFAULT_EXTENDED_FILE_PERMS);
- if (fd != -1) close(fd);
-}
-
namespace Helper {
Error::Error(const char* format, ...)
@@ -65,7 +58,11 @@ Logger::~Logger()
_funcname,
_oss.str().data());
- if (!isExists(_logFile)) __create_log_file(_logFile);
+ if (!isExists(_logFile)) {
+ remove(_logFile);
+ int fd = open(_logFile, O_WRONLY | O_CREAT, DEFAULT_EXTENDED_FILE_PERMS);
+ if (fd != -1) close(fd);
+ }
FILE* fp = fopen(_logFile, "a");
if (fp != NULL) {