Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
celllframe-node
Commits
131bb49b
Commit
131bb49b
authored
3 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[!] One more hotfix
parent
fd44aa71
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
sources/sig_unix_handler.c
+4
-4
4 additions, 4 deletions
sources/sig_unix_handler.c
with
5 additions
and
5 deletions
CMakeLists.txt
+
1
−
1
View file @
131bb49b
...
...
@@ -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 4
4
)
SET
(
CPACK_PACKAGE_VERSION_PATCH 4
5
)
# init CellFrame SDK
add_definitions
(
"-DDAP_VERSION=
\"
${
CPACK_PACKAGE_VERSION_MAJOR
}
-
${
CPACK_PACKAGE_VERSION_MINOR
}
.
${
CPACK_PACKAGE_VERSION_PATCH
}
\"
"
)
...
...
This diff is collapsed.
Click to expand it.
sources/sig_unix_handler.c
+
4
−
4
View file @
131bb49b
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment