Skip to content
Snippets Groups Projects
Commit 131bb49b authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[!] One more hotfix

parent fd44aa71
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11)
SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}")
SET( CPACK_PACKAGE_VERSION_MAJOR 4)
SET( CPACK_PACKAGE_VERSION_MINOR 3)
SET( CPACK_PACKAGE_VERSION_PATCH 44)
SET( CPACK_PACKAGE_VERSION_PATCH 45)
# init CellFrame SDK
add_definitions("-DDAP_VERSION=\"${CPACK_PACKAGE_VERSION_MAJOR}-${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\"")
......
......@@ -29,10 +29,10 @@ static void sig_exit_handler(int sig_code) {
int sig_unix_handler_init(const char *a_pid_path)
{
char * l_pid_dir = dap_path_get_dirname(a_pid_path);
sleep(200); // Don't know why but without it it crashes O_o
dap_mkdir_with_parents(l_pid_dir);
DAP_DELETE(l_pid_dir);
//char * l_pid_dir = dap_path_get_dirname(a_pid_path);
//sleep(1); // Don't know why but without it it crashes O_o
//dap_mkdir_with_parents(l_pid_dir);
//DAP_DELETE(l_pid_dir);
s_pid_path = strdup(a_pid_path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment