Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: dart/runtime/bin/process_android.cc

Issue 125033003: Version 1.1.0-dev.5.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: dart/runtime/bin/process_android.cc
===================================================================
--- dart/runtime/bin/process_android.cc (revision 31466)
+++ dart/runtime/bin/process_android.cc (working copy)
@@ -696,6 +696,10 @@
struct sigaction act;
bzero(&act, sizeof(act));
act.sa_handler = SignalHandler;
+ sigemptyset(&act.sa_mask);
+ for (int i = 0; i < kSignalsCount; i++) {
+ sigaddset(&act.sa_mask, kSignals[i]);
+ }
int status = TEMP_FAILURE_RETRY_BLOCK_SIGNALS(
sigaction(signal, &act, NULL));
if (status < 0) {

Powered by Google App Engine
This is Rietveld 408576698