| Index: runtime/bin/process_linux.cc
|
| diff --git a/runtime/bin/process_linux.cc b/runtime/bin/process_linux.cc
|
| index 037dd16c39b7c90b9a570ba26f7375a6a57b6d5f..e2810fc6dc17a4c37f52e25ad50abdf9db371ace 100644
|
| --- a/runtime/bin/process_linux.cc
|
| +++ b/runtime/bin/process_linux.cc
|
| @@ -151,7 +151,7 @@ class ExitCodeHandler {
|
| running_ = false;
|
|
|
| // Fork to wake up waitpid.
|
| - if (TEMP_FAILURE_RETRY(fork()) == 0) {
|
| + if (TEMP_FAILURE_RETRY_BLOCK_SIGNALS(fork()) == 0) {
|
| exit(0);
|
| }
|
|
|
| @@ -349,7 +349,7 @@ int Process::Start(const char* path,
|
| program_environment[environment_length] = NULL;
|
| }
|
|
|
| - pid = TEMP_FAILURE_RETRY(fork());
|
| + pid = TEMP_FAILURE_RETRY_BLOCK_SIGNALS(fork());
|
| if (pid < 0) {
|
| SetChildOsErrorMessage(os_error_message);
|
| delete[] program_arguments;
|
|
|