diff --git a/CMakeLists.txt b/CMakeLists.txt index af3030ab663b248b1b374bc0a22de166373b6f8d..c8786222ddcd9a5c383c77c4cb6e45b8b900729c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}\"") diff --git a/sources/sig_unix_handler.c b/sources/sig_unix_handler.c index d3fd787f6fb5838e3a4ad02d79c0cb6debdc3d67..3d92f42057d151f6d55857ee50c10399e6f60e66 100644 --- a/sources/sig_unix_handler.c +++ b/sources/sig_unix_handler.c @@ -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);