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

Unified Diff: chrome/common/service_process_util_posix.cc

Issue 100253002: Don't HANDLE_EINTR(close). Either IGNORE_EINTR(close) or just close. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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
« no previous file with comments | « chrome/common/multi_process_lock_linux.cc ('k') | chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/service_process_util_posix.cc
diff --git a/chrome/common/service_process_util_posix.cc b/chrome/common/service_process_util_posix.cc
index df57c912a621d29a81744b2ad52924580edf19b0..92b79b541053e3717c716db1590eb85865a1847a 100644
--- a/chrome/common/service_process_util_posix.cc
+++ b/chrome/common/service_process_util_posix.cc
@@ -133,12 +133,12 @@ void ServiceProcessState::StateData::SignalReady(base::WaitableEvent* signal,
ServiceProcessState::StateData::~StateData() {
if (sockets_[0] != -1) {
- if (HANDLE_EINTR(close(sockets_[0]))) {
+ if (IGNORE_EINTR(close(sockets_[0]))) {
DPLOG(ERROR) << "close";
}
}
if (sockets_[1] != -1) {
- if (HANDLE_EINTR(close(sockets_[1]))) {
+ if (IGNORE_EINTR(close(sockets_[1]))) {
DPLOG(ERROR) << "close";
}
}
« no previous file with comments | « chrome/common/multi_process_lock_linux.cc ('k') | chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698