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

Unified Diff: chrome/common/multi_process_lock_linux.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/browser/shell_integration_linux.cc ('k') | chrome/common/service_process_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/multi_process_lock_linux.cc
diff --git a/chrome/common/multi_process_lock_linux.cc b/chrome/common/multi_process_lock_linux.cc
index c3494aaaf755a4dce72afe340856bb91573a89b0..07d66353099485e56d221393f58945b6198ebca1 100644
--- a/chrome/common/multi_process_lock_linux.cc
+++ b/chrome/common/multi_process_lock_linux.cc
@@ -78,7 +78,7 @@ class MultiProcessLockLinux : public MultiProcessLock {
DVLOG(1) << "Couldn't bind socket - "
<< &(address.sun_path[1])
<< " Length: " << length;
- if (HANDLE_EINTR(close(socket_fd)) < 0) {
+ if (IGNORE_EINTR(close(socket_fd)) < 0) {
PLOG(ERROR) << "close";
}
return false;
@@ -90,7 +90,7 @@ class MultiProcessLockLinux : public MultiProcessLock {
DLOG(ERROR) << "Over-unlocked MultiProcessLock - " << name_;
return;
}
- if (HANDLE_EINTR(close(fd_)) < 0) {
+ if (IGNORE_EINTR(close(fd_)) < 0) {
DPLOG(ERROR) << "close";
}
fd_ = -1;
« no previous file with comments | « chrome/browser/shell_integration_linux.cc ('k') | chrome/common/service_process_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698