Commit a86a499f authored by Chisoon Jeong's avatar Chisoon Jeong Committed by Commit Bot

Remove a pointless comment on SIGPIPE

Change-Id: I1ab3e2c1b18dbd3614e4bf0cc9f29a3b91d632f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1946056
Commit-Queue: Ken Rockot <rockot@google.com>
Reviewed-by: default avatarKen Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#721764}
parent f9283675
...@@ -100,7 +100,7 @@ void SetupSignalHandlers() { ...@@ -100,7 +100,7 @@ void SetupSignalHandlers() {
sigact.sa_handler = SIG_DFL; sigact.sa_handler = SIG_DFL;
static const int signals_to_reset[] = { static const int signals_to_reset[] = {
SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGABRT, SIGFPE, SIGSEGV, SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGABRT, SIGFPE, SIGSEGV,
SIGALRM, SIGTERM, SIGCHLD, SIGBUS, SIGTRAP}; // SIGPIPE is set below. SIGALRM, SIGTERM, SIGCHLD, SIGBUS, SIGTRAP};
for (unsigned i = 0; i < base::size(signals_to_reset); i++) { for (unsigned i = 0; i < base::size(signals_to_reset); i++) {
CHECK_EQ(0, sigaction(signals_to_reset[i], &sigact, NULL)); CHECK_EQ(0, sigaction(signals_to_reset[i], &sigact, NULL));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment