Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
11ac079f
Commit
11ac079f
authored
Jul 23, 2017
by
Josh Soref
Browse files
spelling: sigchld
parent
c20efb69
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/dhcp4_srv.cc
View file @
11ac079f
...
@@ -769,7 +769,7 @@ Dhcpv4Srv::run_one() {
...
@@ -769,7 +769,7 @@ Dhcpv4Srv::run_one() {
}
catch
(
const
SignalInterruptOnSelect
)
{
}
catch
(
const
SignalInterruptOnSelect
)
{
// Packet reception interrupted because a signal has been received.
// Packet reception interrupted because a signal has been received.
// This is not an error because we might have received a SIGTERM,
// This is not an error because we might have received a SIGTERM,
// SIGINT, SIGHUP or SIGCH
I
LD which are handled by the server. For
// SIGINT, SIGHUP or SIGCHLD which are handled by the server. For
// signals that are not handled by the server we rely on the default
// signals that are not handled by the server we rely on the default
// behavior of the system.
// behavior of the system.
LOG_DEBUG
(
packet4_logger
,
DBG_DHCP4_DETAIL
,
DHCP4_BUFFER_WAIT_SIGNAL
)
LOG_DEBUG
(
packet4_logger
,
DBG_DHCP4_DETAIL
,
DHCP4_BUFFER_WAIT_SIGNAL
)
...
...
src/lib/util/tests/process_spawn_unittest.cc
View file @
11ac079f
...
@@ -239,7 +239,7 @@ TEST(ProcessSpawn, errnoInvariance) {
...
@@ -239,7 +239,7 @@ TEST(ProcessSpawn, errnoInvariance) {
EXPECT_EQ
(
64
,
process
.
getExitStatus
(
pid
));
EXPECT_EQ
(
64
,
process
.
getExitStatus
(
pid
));
// errno value should be set to be preserved, despite the SIGCH
I
LD
// errno value should be set to be preserved, despite the SIGCHLD
// handler (ProcessSpawnImpl::waitForProcess) calling waitpid(), which
// handler (ProcessSpawnImpl::waitForProcess) calling waitpid(), which
// will likely set errno to ECHILD. See trac4000.
// will likely set errno to ECHILD. See trac4000.
EXPECT_EQ
(
123
,
errno
);
EXPECT_EQ
(
123
,
errno
);
...
...
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