Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
21a9ca8c
Commit
21a9ca8c
authored
Sep 09, 2021
by
Laurent Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc warning fix
parent
6086d9c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
executables/softmodem-common.c
executables/softmodem-common.c
+4
-3
No files found.
executables/softmodem-common.c
View file @
21a9ca8c
...
...
@@ -180,12 +180,13 @@ void softmodem_printresources(int sig, telnet_printfunc_t pf) {
}
void
signal_handler
(
int
sig
)
{
void
*
array
[
10
];
size_t
size
;
//
void *array[10];
//
size_t size;
if
(
sig
==
SIGSEGV
)
{
// get void*'s for all entries on the stack
/*
/* backtrace uses malloc, that is not good in signal handlers
* I let the code, because it would be nice to make it better
size = backtrace(array, 10);
// print out all the frames to stderr
fprintf(stderr, "Error: signal %d:\n", sig);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment