Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
446
Issues
446
List
Boards
Labels
Service Desk
Milestones
Merge Requests
71
Merge Requests
71
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
Kea
Commits
81df8441
Commit
81df8441
authored
Aug 01, 2014
by
Stephen Morris
Browse files
Options
Browse Files
Download
Plain Diff
[master] Merge branch 'trac3502'
parents
263983fa
83a514bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/lib/util/signal_set.cc
src/lib/util/signal_set.cc
+6
-2
No files found.
src/lib/util/signal_set.cc
View file @
81df8441
...
...
@@ -112,8 +112,12 @@ SignalSet::invokeOnReceiptHandler(int sig) {
signal_processed
=
onreceipt_handler_
(
sig
);
}
catch
(
const
std
::
exception
&
ex
)
{
// Restore the handler. We might fail to restore it, but we likely
// have bigger issues anyway.
sigaction
(
sig
,
&
prev_sa
,
0
);
// have bigger issues anyway: for that reason, the return value is
// ignored. To avoid complaints from static code checkers that notice
// that the return values from other calls to sigaction() have been
// used, the call to sigaction is explicitly cast to void to indicate
// that the return value is intentionally being ignored.
static_cast
<
void
>
(
sigaction
(
sig
,
&
prev_sa
,
0
));
isc_throw
(
SignalSetError
,
"onreceipt_handler failed for signal "
<<
sig
<<
": "
<<
ex
.
what
());
}
...
...
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