Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc-gpu
Commits
47e1d944
Commit
47e1d944
authored
Apr 18, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore signal/sigaction on blocked signals
It is a bad idea, but it does not really harm.
parent
3725a9ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
bin/override.c
bin/override.c
+4
-2
No files found.
bin/override.c
View file @
47e1d944
...
...
@@ -216,7 +216,8 @@ void (*signal (int signum, void (*handler) (int))) (int)
if
(
!
blocked_signal
(
signum
))
goto
error
;
/* For our blocked signals, the handler won't matter much... */
LOG
(
"Warning"
,
"%d, %p"
,
signum
,
handler
);
if
(
handler
==
SIG_DFL
)
LOG
(
"Warning"
,
"%d, SIG_DFL"
,
signum
,
handler
);
}
return
CALL
(
signal
,
signum
,
handler
);
error:
...
...
@@ -231,7 +232,8 @@ int sigaction (int signum, const struct sigaction *act, struct sigaction *old)
if
((
act
->
sa_flags
&
SA_SIGINFO
)
||
(
act
->
sa_handler
!=
SIG_IGN
&&
act
->
sa_handler
!=
SIG_DFL
))
goto
error
;
LOG
(
"Warning"
,
"%d, %p, %p"
,
signum
,
act
,
old
);
if
(
act
->
sa_handler
==
SIG_DFL
)
LOG
(
"Warning"
,
"%d, %p, SIG_DFL"
,
signum
,
act
);
}
return
CALL
(
sigaction
,
signum
,
act
,
old
);
error:
...
...
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