| Index: chrome/common/ipc_send_fds_test.cc
|
| diff --git a/chrome/common/ipc_send_fds_test.cc b/chrome/common/ipc_send_fds_test.cc
|
| index 747892d144fa590dbbf7e8d4f67b695813d541a0..02747483a5ce145bf78bb37210a3699f7718dbf4 100644
|
| --- a/chrome/common/ipc_send_fds_test.cc
|
| +++ b/chrome/common/ipc_send_fds_test.cc
|
| @@ -14,6 +14,7 @@ extern "C" {
|
| #include <fcntl.h>
|
| #include <sys/stat.h>
|
|
|
| +#include "base/eintr_wrappers.h"
|
| #include "base/message_loop.h"
|
| #include "chrome/common/ipc_channel.h"
|
| #include "chrome/common/ipc_message_utils.h"
|
| @@ -122,7 +123,7 @@ MULTIPROCESS_TEST_MAIN(RunTestDescriptorClientSandboxed) {
|
| struct stat st;
|
| const int fd = open(kDevZeroPath, O_RDONLY);
|
| fstat(fd, &st);
|
| - close(fd);
|
| + HANDLE_EINTR(close(fd));
|
|
|
| // Enable the Sandbox.
|
| char* error_buff = NULL;
|
| @@ -165,7 +166,7 @@ MULTIPROCESS_TEST_MAIN(RunTestDescriptorClient) {
|
| struct stat st;
|
| const int fd = open(kDevZeroPath, O_RDONLY);
|
| fstat(fd, &st);
|
| - close(fd);
|
| + HANDLE_EINTR(close(fd));
|
|
|
| return TestDescriptorClient(st.st_ino);
|
| }
|
|
|