Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
abc-interpreter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
abc-interpreter
Commits
cbcee6e3
Verified
Commit
cbcee6e3
authored
May 16, 2019
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SA_RESTART to SIGSEGV handler (to be sure)
parent
6c776c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/interpret.c
src/interpret.c
+1
-1
No files found.
src/interpret.c
View file @
cbcee6e3
...
...
@@ -308,7 +308,7 @@ void install_interpreter_segv_handler(void) {
struct
sigaction
segv_handler
;
segv_handler
.
sa_sigaction
=
handle_segv
;
sigemptyset
(
&
segv_handler
.
sa_mask
);
segv_handler
.
sa_flags
=
SA_ONSTACK
|
SA_SIGINFO
;
segv_handler
.
sa_flags
=
SA_ONSTACK
|
SA_SIGINFO
|
SA_RESTART
;
if
(
sigaction
(
SIGSEGV
,
&
segv_handler
,
# ifdef LINK_CLEAN_RUNTIME
&
old_segv_handler
...
...
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